fi
AC_DEFINE_UNQUOTED([PAZPAR2_VERSION_SHA1], ["$sha"], [Git SHA1])
-AC_CONFIG_FILES([
+AC_OUTPUT([
Doxyfile
Makefile
src/Makefile
test/Makefile
js/Makefile
doc/Makefile
- doc/local.ent
+ doc/local0.ent
doc/common/Makefile
doc/common/print.dsl
win/version.nsi
+],[
+ diff doc/local.ent doc/local0.ent >/dev/null 2>/dev/null \
+ || cp doc/local0.ent doc/local.ent
])
-AC_OUTPUT
-
-
echo \
"------------------------------------------------------------------------
SUFFIXES=.1 .5 .7 .8 .pdf .esp .xml
-XMLFILES = book.xml manref.xml gpl-2.0.xml
+XMLFILES = book.xml manref.xml gpl-2.0.xml local.ent
MAINXML = $(srcdir)/book.xml
XMLMAN = pazpar2.xml pazpar2_protocol.xml pazpar2_conf.xml
-SUPPORTFILES = entities.ent local.ent.in
+SUPPORTFILES = entities.ent
MANFILES = pazpar2.8 pazpar2_protocol.7 pazpar2_conf.5
doc_DATA = $(HTMLFILES) $(PNGFILES)
man_MANS = $(MANFILES)
-EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(man_MANS)
+EXTRA_DIST = $(XMLFILES) $(XMLMAN) $(doc_DATA) $(man_MANS) $(SUPPORTFILES)
$(HTMLFILES): $(XMLFILES) $(PNGFILES)
rm -f *.html
$(HTML_COMPILE) $(MAINXML)
+$(MANFILES): local.ent
+
.xml.1:
$(MAN_COMPILE) $<
+++ /dev/null
-<!-- Modified by configure. Do not edit. Use entities.ent instead -->
-<!ENTITY version "@VERSION@">
-<!ENTITY prefix "@prefix@">