diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-27 19:10:19 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2018-12-27 19:10:19 (EST) |
commit | da0849ba6bf223f1937c80ccb32cd0558f31d6a5 (patch) | |
tree | 217f0754ab921689c27af34bccf5e95c6332eca0 /man | |
parent | 7c016832777c5c5018c15069e87b7359a5e9e9de (diff) |
man/local.mk: Rewrite and rename do_subst
Diffstat (limited to 'man')
-rw-r--r-- | man/local.mk | 9 |
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 |