doc: Build html into subdirectory (fix make clean)

Building with a document specific prefix will require coding
in both texi2any and texi2html. It is easier to build into
a directory (e.g. $(PROJECT)/). This also fixes "make clean"
which was broken.
This commit is contained in:
Joel Sherrill
2013-02-26 12:49:29 -06:00
parent e517714b7c
commit 83b555fd4d
2 changed files with 11 additions and 7 deletions

View File

@@ -8,13 +8,13 @@ endif
# file naming consistent.
TEXI2HTML_ARGS=\
-D use-html --split node --node-files \
-o ./ \
-o $(PROJECT)/ \
--top-file index.html \
--init-file=$(top_builddir)/texi2html_init \
-I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .
TEXI2ANY_ARGS=\
--html -D use-html --split node \
-o ./ \
-o $(PROJECT)/ \
--init-file=$(top_builddir)/texi2any_init \
-I $(srcdir) -I $(top_srcdir) -I $(top_builddir) -I .