diff --git a/doc/Makefile.am b/doc/Makefile.am
index 35c3a4a39e20dc12314257d463c3959548bdce5d..a89ea25268609bb04aeca53c8e8e7f20603b5519 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
+SUFFIXES = .1 .5 .1.txt .5.txt
+
EXTRA_DIST = \
sysdbd.1.txt \
sysdbd.conf.5.txt
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' )" \