Code

doc/Makefile: Use SUFFIXES rather than GNU-specific %-style rules.
authorSebastian Harl <sh@tokkee.org>
Sun, 15 Dec 2013 08:46:01 +0000 (09:46 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 15 Dec 2013 08:46:01 +0000 (09:46 +0100)
doc/Makefile.am

index 35c3a4a39e20dc12314257d463c3959548bdce5d..a89ea25268609bb04aeca53c8e8e7f20603b5519 100644 (file)
@@ -1,3 +1,5 @@
+SUFFIXES = .1 .5 .1.txt .5.txt
+
 EXTRA_DIST = \
                sysdbd.1.txt \
                sysdbd.conf.5.txt
@@ -13,13 +15,13 @@ sysdbd.1: sysdbd.1.txt ../version
 
 sysdbd.conf.5: sysdbd.conf.5.txt ../version
 
-%.1: %.1.txt
+.1.txt.1:
        @A2X@ -d manpage -f manpage \
                -apackage_version=$(PACKAGE_VERSION) \
                -abuild_date="$$( date --utc '+%F' )" \
                $<
 
-%.5: %.5.txt
+.5.txt.5:
        @A2X@ -d manpage -f manpage \
                -apackage_version=$(PACKAGE_VERSION) \
                -abuild_date="$$( date --utc '+%F' )" \