gramps/doc/gramps-manual/C/Makefile.in
Donald A. Peterson e1a7c5039b * 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
2002-04-18 23:15:35 +00:00

37 lines
911 B
Makefile

include @top_srcdir@/Makefile.comm
MANSRC = ${GM}.sgml
MANDIR = ${GM}
html: ${MANDIR}/index.html
${MANDIR}/index.html: ${MANSRC}
${DB2HTML} ${MANSRC} -o ./tmp
mv ./tmp/*.html ./${MANDIR}.junk
-rmdir ./tmp
-mv ${MANDIR}/stylesheet-images ./${MANDIR}.junk/
rm -rf ${MANDIR}
mv ./${MANDIR}.junk ${MANDIR}
install:
-${INSTALL} -d ${GNOMEHELP}/${GM}/C
-${INSTALL} -m 644 ${MANSRC} ${GNOMEHELP}/${GM}/C
-${INSTALL} -m 644 ${GM}/*.png ${GNOMEHELP}/${GM}/C
# We only install the .html files since .png's
# should already be there from the normal install
install-html:
-${INSTALL} -d ${GNOMEHELP}/${GM}/C
-${INSTALL} -m 644 ${GM}/*.html ${GNOMEHELP}/${GM}/C
uninstall:
-rm -f ${GNOMEHELP}/${GM}/C/*.sgml
-rm -f ${GNOMEHELP}/${GM}/C/*.html
-rm -f ${GNOMEHELP}/${GM}/C/*.png
-rmdir ${GNOMEHELP}/${GM}/C
clean:
-rm -f ${MANDIR}/*.html
-rm -rf ${MANDIR}/stylesheet-images/
-rm -rf ${MANDIR}.junk/