* HTML documentation no longer built by default

* "make install" only installs .sgml and .png files
* Added --enable-html option to configure if separate HTML docs desired
* Added "html" and "install-html" targets to documentation Makefiles


svn: r938
This commit is contained in:
Donald A. Peterson
2002-04-18 23:15:35 +00:00
parent a2cc126596
commit e1a7c5039b
6 changed files with 215 additions and 151 deletions

View File

@@ -3,16 +3,25 @@ include @top_srcdir@/Makefile.comm
MANSRC = ${EG}.sgml
MANDIR = ${EG}
all: ${MANDIR}/index.html
html: ${MANDIR}/index.html
${MANDIR}/index.html: ${MANSRC}
db2html ${MANSRC} -o ${MANDIR}
-${DB2HTML} ${MANSRC} -o ${MANDIR}
-rm -rf ${MANSC}.junk/
install:
-${INSTALL} -d ${GNOMEHELP}/${EG}/C
-${INSTALL} -m 644 ${MANSRC} ${GNOMEHELP}/${EG}/C
# We only install the .html files since .png's
# should already be there from the normal install
install-html:
-${INSTALL} -d ${GNOMEHELP}/${EG}/C
-${INSTALL} -m 644 ${EG}/*.html ${GNOMEHELP}/${EG}/C
uninstall:
-rm -f ${GNOMEHELP}/${EG}/C/*.sgml
-rm -f ${GNOMEHELP}/${EG}/C/*.html
-rmdir ${GNOMEHELP}/${EG}/C/