summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@hadrons.org>2010-10-20 09:48:31 +0200
committerGuillem Jover <guillem@hadrons.org>2010-10-21 05:28:26 +0200
commitb1bd24d412bbbd803184f7ed32dae56b695704fe (patch)
treea06df5ff3897810c4b12c5c6c381b19986115673
parentac9af8454c9af4205dc2df29dee71c35e4c7931c (diff)
build: Clean up man page generation
Use autoconf variables instead of autoconf subsitutions. Use the destination man page filename in the driverman_DATA variable, instead of generating it from the source filename.
-rw-r--r--man/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 870791a..52648f9 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -21,12 +21,9 @@
#
drivermandir = $(DRIVER_MAN_DIR)
+driverman_DATA = $(DRIVER_NAME).$(DRIVER_MAN_SUFFIX)
-driverman_PRE = @DRIVER_NAME@.man
-
-driverman_DATA = $(driverman_PRE:man=@DRIVER_MAN_SUFFIX@)
-
-EXTRA_DIST = @DRIVER_NAME@.man
+EXTRA_DIST = $(DRIVER_NAME).man
CLEANFILES = $(driverman_DATA)