hydra: use autoconf/-make

This commit is contained in:
Rob Vermaas
2010-09-30 14:29:15 +00:00
parent 673ef76020
commit c37b90ee3e
28 changed files with 533 additions and 20 deletions

4
doc/Makefile.am Normal file
View File

@ -0,0 +1,4 @@
SUBDIRS = manual
BOOTCLEAN_SUBDIRS = $(SUBDIRS)
DIST_SUBDIRS = $(SUBDIRS)

View File

@ -1,8 +0,0 @@
DOCBOOK_FILES = installation.xml introduction.xml manual.xml
dblatex_opts = \
-P doc.collab.show=0 \
-P latex.output.revhistory=0
manual.pdf : $(DOCBOOK_FILES)
dblatex $(dblatex_opts) manual.xml

23
doc/manual/Makefile.am Normal file
View File

@ -0,0 +1,23 @@
DOCBOOK_FILES = installation.xml introduction.xml manual.xml
EXTRA_DIST = $(DOCBOOK_FILES) manual.pdf
dblatex_opts = \
-V \
-P doc.collab.show=0 \
-P latex.output.revhistory=0
manual.pdf : $(DOCBOOK_FILES)
if test "$(dblatex)" != ""; then \
$(dblatex) $(dblatex_opts) manual.xml; \
else \
echo "Please install dblatex and rerun configure."; \
exit 1; \
fi
install-data-local:
$(INSTALL) -d $(DESTDIR)$(datadir)/doc/hydra/manual
$(INSTALL_DATA) manual.pdf $(DESTDIR)$(datadir)/doc/hydra/manual