From 14617a9290e5b5b716b5e66d9f2eb4216e897c21 Mon Sep 17 00:00:00 2001 From: fpeters <> Date: Fri, 10 Sep 2004 09:50:27 +0000 Subject: [PATCH] fixed documentation build system --- doc/Makefile.am | 14 +++++++++++--- doc/manual.txt | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 5e1a9d4..baadb22 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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) diff --git a/doc/manual.txt b/doc/manual.txt index 3246927..f94081a 100644 --- a/doc/manual.txt +++ b/doc/manual.txt @@ -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)::