From: Adam Dickmeiss Date: Wed, 27 Mar 2013 12:05:05 +0000 (+0100) Subject: Documentation rebuilt if local.ent changes X-Git-Tag: v1.3.54~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=52df783f74f8336e05fa2698648aed395c9086db;p=metaproxy-moved-to-github.git Documentation rebuilt if local.ent changes --- diff --git a/configure.ac b/configure.ac index 09008fb..6acc96d 100644 --- a/configure.ac +++ b/configure.ac @@ -94,13 +94,14 @@ AC_OUTPUT([ xml/schema/Makefile xml/xslt/Makefile doc/Makefile - doc/local.ent - doc/common/Makefile + doc/local0.ent + doc/common/Makefile doc/common/print.dsl etc/Makefile ],[ sed s%echo_source=yes%echo_source=no%g < metaproxy-config > src/metaproxy-config && chmod +x metaproxy-config src/metaproxy-config - + diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \ + || cp doc/local0.ent doc/local.ent ]) echo \ diff --git a/doc/Makefile.am b/doc/Makefile.am index 96e6eb2..64d850f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -4,7 +4,7 @@ INKSCAPE=inkscape SUFFIXES=.3mp .1 .pdf .tkl .esp .xml -XMLFILES = book.xml manref.xml copyright.xml gpl-2.0.xml +XMLFILES = book.xml manref.xml copyright.xml gpl-2.0.xml local.ent MAINXML = $(srcdir)/book.xml @@ -67,6 +67,8 @@ man_MANS = $(MANFILES) EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(man_MANS) multi.svg +$(MANFILES): local.ent + $(HTMLFILES): $(XMLFILES) $(PNGFILES) rm -f *.html $(HTML_COMPILE) $(MAINXML) diff --git a/doc/local.ent.in b/doc/local.ent.in deleted file mode 100644 index 22cfcf2..0000000 --- a/doc/local.ent.in +++ /dev/null @@ -1,2 +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 @@ +