From c3a436df16a447781e6fffc3ecd822530b54acbc Mon Sep 17 00:00:00 2001 From: Vladimir Volovich Date: Sat, 22 Mar 2008 22:48:44 +0000 Subject: 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 --- Build/source/utils/xindy/doc/Makefile.am | 12 +++++++----- Build/source/utils/xindy/tex2xindy/Makefile.am | 5 +++-- Build/source/utils/xindy/user-commands/Makefile.am | 9 +++++---- 3 files changed, 15 insertions(+), 11 deletions(-) (limited to 'Build') 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)" \ $< $@ -- cgit v1.2.3