summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/user-commands/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/xindy/user-commands/Makefile.am')
-rw-r--r--Build/source/utils/xindy/user-commands/Makefile.am17
1 files changed, 9 insertions, 8 deletions
diff --git a/Build/source/utils/xindy/user-commands/Makefile.am b/Build/source/utils/xindy/user-commands/Makefile.am
index 9b317bbc5df..92b37b15825 100644
--- a/Build/source/utils/xindy/user-commands/Makefile.am
+++ b/Build/source/utils/xindy/user-commands/Makefile.am
@@ -47,20 +47,21 @@ EXTRA_DIST = $(man_MANS)
CLEANFILES = xindy xindy.v2
-IDENT_DATE = `ident $< | grep '\$$Id' | sed -e 's/^.*,v [^ ]* //' -e 's/ .*//' -e s:/:-:g`
-IDENT_VERSION = `ident $< | grep '\$$Id' | sed -e 's/^.*,v //' -e 's/ .*//'`
+POD_DATE = `ident $< | grep '\$$Id' | sed -e 's/^.*,v [^ ]* //' -e 's/ .*//' -e s:/:-:g`
+POD_VERSION = `ident $< | grep '\$$Id' | sed -e 's/^.*,v //' -e 's/ .*//'`
+POD_NAME = `basename $@ .1 | tr '[a-z]' '[A-Z]'`
POD2MAN = pod2man
$(srcdir)/xindy.1: $(srcdir)/xindy.in
-$(POD2MAN) --center '$(PACKAGE_NAME)' \
- --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') \
- --release "Version $(IDENT_VERSION)" \
- --date "$(IDENT_DATE)" \
+ --name="$(POD_NAME)" \
+ --release "Version $(POD_VERSION)" \
+ --date "$(POD_DATE)" \
$< $@
$(srcdir)/texindy.1: $(srcdir)/texindy
-$(POD2MAN) --center '$(PACKAGE_NAME)' \
- --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') \
- --release "Version $(IDENT_VERSION)" \
- --date "$(IDENT_DATE)" \
+ --name="$(POD_NAME)" \
+ --release "Version $(POD_VERSION)" \
+ --date "$(POD_DATE)" \
$< $@