summaryrefslogtreecommitdiff
path: root/Build/source/utils
diff options
context:
space:
mode:
authorVladimir Volovich <vvv@vsu.ru>2008-03-25 00:38:13 +0000
committerVladimir Volovich <vvv@vsu.ru>2008-03-25 00:38:13 +0000
commitf9187d6ded4ee2032ff24f5f6185406ad91d8d74 (patch)
tree577a4e6e429495452ed41b52ab6d84164a7a02c4 /Build/source/utils
parenta36644af38baa33f8891811e1b46a5fdbfe6cc04 (diff)
added the AM_MAINTAINER_MODE to configure.ac and put the rules for manpages and PDF docs regeneration
under "if MAINTAINER_MODE" conditional, to avoid rebuilding them in normal builds git-svn-id: svn://tug.org/texlive/trunk@7138 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils')
-rw-r--r--Build/source/utils/xindy/configure.ac1
-rw-r--r--Build/source/utils/xindy/doc/Makefile.am3
-rw-r--r--Build/source/utils/xindy/tex2xindy/Makefile.am2
-rw-r--r--Build/source/utils/xindy/user-commands/Makefile.am2
4 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/utils/xindy/configure.ac b/Build/source/utils/xindy/configure.ac
index 17bfed52dbd..9d4a98f6910 100644
--- a/Build/source/utils/xindy/configure.ac
+++ b/Build/source/utils/xindy/configure.ac
@@ -26,6 +26,7 @@ AC_INIT([xindy], [2.3], [xindy-discuss@lists.sourceforge.net])
## make dist doesn't work yet, since configure makes CLISP.
AM_INIT_AUTOMAKE([foreign no-dist])
+AM_MAINTAINER_MODE
# Checks for programs.
AC_PROG_CC
diff --git a/Build/source/utils/xindy/doc/Makefile.am b/Build/source/utils/xindy/doc/Makefile.am
index 13ecbd0d113..adceaa4091f 100644
--- a/Build/source/utils/xindy/doc/Makefile.am
+++ b/Build/source/utils/xindy/doc/Makefile.am
@@ -53,6 +53,7 @@ dist_noinst_DATA = xindy.v2.pdf makeindex4.pdf
doc_DATA = $(FILES) $(PDFS)
+if MAINTAINER_MODE
GROFF = groff
$(srcdir)/xindy.pdf: $(top_srcdir)/user-commands/xindy.1
@@ -69,4 +70,4 @@ $(srcdir)/xindy.v2.pdf: $(top_srcdir)/user-commands/xindy.v2.1
$(srcdir)/tex2xindy.pdf: $(top_srcdir)/tex2xindy/tex2xindy.1
-$(GROFF) -man -P-g $< | ps2pdf - $@
-
+endif
diff --git a/Build/source/utils/xindy/tex2xindy/Makefile.am b/Build/source/utils/xindy/tex2xindy/Makefile.am
index 78c47de839a..562ee3ac0e0 100644
--- a/Build/source/utils/xindy/tex2xindy/Makefile.am
+++ b/Build/source/utils/xindy/tex2xindy/Makefile.am
@@ -34,6 +34,7 @@ CLEANFILES = tex2xindy.c
dist-hook:
rm -f $(distdir)/tex2xindy.c
+if MAINTAINER_MODE
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]'`
@@ -45,3 +46,4 @@ $(srcdir)/tex2xindy.1: $(srcdir)/tex2xindy.l
--release "Version $(POD_VERSION)" \
--date "$(POD_DATE)" \
$< $@
+endif
diff --git a/Build/source/utils/xindy/user-commands/Makefile.am b/Build/source/utils/xindy/user-commands/Makefile.am
index d54f888eaa3..49d0cfec473 100644
--- a/Build/source/utils/xindy/user-commands/Makefile.am
+++ b/Build/source/utils/xindy/user-commands/Makefile.am
@@ -47,6 +47,7 @@ EXTRA_DIST = $(man_MANS)
CLEANFILES = xindy xindy.v2
+if MAINTAINER_MODE
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]'`
@@ -65,3 +66,4 @@ $(srcdir)/texindy.1: $(srcdir)/texindy
--release "Version $(POD_VERSION)" \
--date "$(POD_DATE)" \
$< $@
+endif