summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/local.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/man/local.mk b/man/local.mk
index 386d6b5..b08aab6 100644
--- a/man/local.mk
+++ b/man/local.mk
@@ -41,14 +41,13 @@ CLEANFILES += \
EXTRA_DIST += \
$(man1_sources)
-do_subst = sed \
- -e 's|@[@]PACKAGE_NAME[@]@|$(PACKAGE_NAME)|g' \
- -e "s|@[@]PACKAGE_VERSION[@]@|$(PACKAGE_VERSION_GIT)|g" \
- -e 's|@[@]PACKAGE_DESCRIPTION[@]@|$(MANUAL)|g'
+man_subst = sed \
+ -e "s|[@]SOURCE[@]|$(PACKAGE_STRING)|g" \
+ -e 's|[@]MANUAL[@]|$(MANUAL)|g'
.1in.1:
$(AM_V_GEN)$(MKDIR_P) "$$(dirname $@)"
- $(AM_V_at)$(do_subst) $< >$@
+ $(AM_V_at)$(man_subst) $< >$@
$(man3_MANS): %reldir%/Tags