diff options
author | Vladimir Volovich <vvv@vsu.ru> | 2008-03-22 22:48:44 +0000 |
---|---|---|
committer | Vladimir Volovich <vvv@vsu.ru> | 2008-03-22 22:48:44 +0000 |
commit | c3a436df16a447781e6fffc3ecd822530b54acbc (patch) | |
tree | d7b232f55176ce815dc14091e4c7050db5f7b45e | |
parent | 83d0018a9a4f39fb0e95e54fd24981fdd1decb0c (diff) |
ignore a make error if pod2man or groff is not available (they're used to regenerate distributed docs,
so useful only for maintainer), and fixed typos in pod2man calls (missing backslash).
git-svn-id: svn://tug.org/texlive/trunk@7083 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/utils/xindy/doc/Makefile.am | 12 | ||||
-rw-r--r-- | Build/source/utils/xindy/tex2xindy/Makefile.am | 5 | ||||
-rw-r--r-- | Build/source/utils/xindy/user-commands/Makefile.am | 9 |
3 files changed, 15 insertions, 11 deletions
diff --git a/Build/source/utils/xindy/doc/Makefile.am b/Build/source/utils/xindy/doc/Makefile.am index 5b9008d46d4..13ecbd0d113 100644 --- a/Build/source/utils/xindy/doc/Makefile.am +++ b/Build/source/utils/xindy/doc/Makefile.am @@ -53,18 +53,20 @@ dist_noinst_DATA = xindy.v2.pdf makeindex4.pdf doc_DATA = $(FILES) $(PDFS) +GROFF = groff + $(srcdir)/xindy.pdf: $(top_srcdir)/user-commands/xindy.1 - groff -man -P-g $< | ps2pdf - $@ + -$(GROFF) -man -P-g $< | ps2pdf - $@ $(srcdir)/texindy.pdf: $(top_srcdir)/user-commands/texindy.1 - groff -man -P-g $< | ps2pdf - $@ + -$(GROFF) -man -P-g $< | ps2pdf - $@ $(srcdir)/makeindex4.pdf: $(top_srcdir)/user-commands/makeindex4.1 - groff -man -P-g $< | ps2pdf - $@ + -$(GROFF) -man -P-g $< | ps2pdf - $@ $(srcdir)/xindy.v2.pdf: $(top_srcdir)/user-commands/xindy.v2.1 - groff -man -P-g $< | ps2pdf - $@ + -$(GROFF) -man -P-g $< | ps2pdf - $@ $(srcdir)/tex2xindy.pdf: $(top_srcdir)/tex2xindy/tex2xindy.1 - groff -man -P-g $< | ps2pdf - $@ + -$(GROFF) -man -P-g $< | ps2pdf - $@ diff --git a/Build/source/utils/xindy/tex2xindy/Makefile.am b/Build/source/utils/xindy/tex2xindy/Makefile.am index 5464ca5db7e..e6a0d60b8aa 100644 --- a/Build/source/utils/xindy/tex2xindy/Makefile.am +++ b/Build/source/utils/xindy/tex2xindy/Makefile.am @@ -36,10 +36,11 @@ dist-hook: 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/ .*//'` +POD2MAN = pod2man $(srcdir)/tex2xindy.1: $(srcdir)/tex2xindy.l - pod2man --center '$(PACKAGE_NAME)' \ - --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') + -$(POD2MAN) --center '$(PACKAGE_NAME)' \ + --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') \ --release "Version $(IDENT_VERSION)" \ --date "$(IDENT_DATE)" \ $< $@ diff --git a/Build/source/utils/xindy/user-commands/Makefile.am b/Build/source/utils/xindy/user-commands/Makefile.am index 29dd3d9ec54..9b317bbc5df 100644 --- a/Build/source/utils/xindy/user-commands/Makefile.am +++ b/Build/source/utils/xindy/user-commands/Makefile.am @@ -49,17 +49,18 @@ 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/ .*//'` +POD2MAN = pod2man $(srcdir)/xindy.1: $(srcdir)/xindy.in - pod2man --center '$(PACKAGE_NAME)' \ - --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') + -$(POD2MAN) --center '$(PACKAGE_NAME)' \ + --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') \ --release "Version $(IDENT_VERSION)" \ --date "$(IDENT_DATE)" \ $< $@ $(srcdir)/texindy.1: $(srcdir)/texindy - pod2man --center '$(PACKAGE_NAME)' \ - --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') + -$(POD2MAN) --center '$(PACKAGE_NAME)' \ + --name=$(basename $@ .1 | tr '[a-z]' '[A-Z]') \ --release "Version $(IDENT_VERSION)" \ --date "$(IDENT_DATE)" \ $< $@ |