fixed documentation build system

This commit is contained in:
fpeters 2004-09-10 09:50:27 +00:00
parent 626acfb9a3
commit 14617a9290
2 changed files with 13 additions and 5 deletions

View File

@ -3,11 +3,19 @@ docdir = $(prefix)/share/doc/idpc
if HAVE_REST2HTML
doc_DATA = idpc-manual.html default.css
else
doc_DATA = manual.txt
doc_DATA = idpc-manual.txt
endif
idpc-manual.html: manual.txt ../INSTALL
$(REST2HTML) manual.txt > idpc-manual.html
idpc-manual.html: manual.txt
cp $(top_srcdir)/INSTALL .
cp $(top_srcdir)/create-db.sql .
cp $(srcdir)/manual.txt idpc-manual.txt
$(REST2HTML) idpc-manual.txt > idpc-manual.html
rm -f INSTALL create-db.sql idpc-manual.txt
idpc-manual.txt: manual.txt
cp $(srcdir)/manual.txt idpc-manual.txt
EXTRA_DIST = manual.txt default.css
CLEANFILES = $(doc_DATA)

View File

@ -45,7 +45,7 @@ Development code is available using CVS::
.. _INSTALL:
.. include:: ../INSTALL
.. include:: INSTALL
IdPC Configuration
@ -189,7 +189,7 @@ Database configuration
PostgreSQL
----------
.. include:: ../create-db.sql
.. include:: create-db.sql
Be sure it is possible to connect using TCP/IP to the database; somethink like
the next line will do (you may have to disable ``ident`` authentication first)::