From 902eb6aa5d8af21c0cd5d378ef8586996ec8c807 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 27 Mar 2013 13:22:24 +0100 Subject: [PATCH 1/1] Documentation rebuilt if local.ent changes --- configure.ac | 4 +++- doc/Makefile.am | 6 ++++-- doc/local.ent.in | 1 - doc/local0.ent.in | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 doc/local.ent.in create mode 100644 doc/local0.ent.in diff --git a/configure.ac b/configure.ac index b73bfd9..bb5bca5 100644 --- a/configure.ac +++ b/configure.ac @@ -406,7 +406,7 @@ client/Makefile ztest/Makefile zoom/Makefile doc/Makefile -doc/local.ent +doc/local0.ent doc/common/Makefile doc/common/print.dsl etc/Makefile @@ -417,6 +417,8 @@ win/version.nsi include/yaz/yaz-version.h ],[ sed s%echo_source=yes%echo_source=no%g < yaz-config > util/yaz-config && chmod +x yaz-config util/yaz-config + diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \ + || cp doc/local0.ent doc/local.ent ] ) diff --git a/doc/Makefile.am b/doc/Makefile.am index b2e3266..172ae24 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -8,7 +8,7 @@ XMLFILES=bookinfo.xml introduction.xml installation.xml \ asn.xml tools.xml odr.xml comstack.xml server.xml license.xml \ future.xml zoom.xml credits.xml gfs-options.xml \ yaz.xml soap.xml gfs-virtual.xml gfs-synopsis.xml \ - std-oid-table.xml manref.xml + std-oid-table.xml manref.xml local.ent HTMLFILES = index.html @@ -23,7 +23,7 @@ REFFILES=yaz-client-man.xml yaz-ztest-man.xml yaz-config-man.xml \ yaz-illclient-man.xml yaz-icu-man.xml yaz-url-man.xml \ bib1-attr-man.xml yaz-json-parse-man.xml -SUPPORTFILES=entities.ent apilayer.obj local.ent.in +SUPPORTFILES=entities.ent apilayer.obj doc_DATA = $(HTMLFILES) apilayer.png man_MANS = $(MANFILES) @@ -80,6 +80,8 @@ $(HTMLFILES): $(XMLFILES) rm -f *.html $(HTML_COMPILE) $(srcdir)/yaz.xml +$(MANFILES): local.ent + yaz.pdf: $(XMLFILES) $(PDF_COMPILE) $(srcdir)/yaz.xml diff --git a/doc/local.ent.in b/doc/local.ent.in deleted file mode 100644 index 7b2eb41..0000000 --- a/doc/local.ent.in +++ /dev/null @@ -1 +0,0 @@ - diff --git a/doc/local0.ent.in b/doc/local0.ent.in new file mode 100644 index 0000000..7b2eb41 --- /dev/null +++ b/doc/local0.ent.in @@ -0,0 +1 @@ + -- 1.7.10.4