gramps/doc/extending-gramps/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

32 lines
707 B
Makefile

include @top_srcdir@/Makefile.comm
MANSRC = ${EG}.sgml
MANDIR = ${EG}
html: ${MANDIR}/index.html
${MANDIR}/index.html: ${MANSRC}
-${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/
clean:
-rm -rf ${MANDIR}/*.html
-rm -rf ${MANDIR}/stylesheet-images/
-rm -rf ${MANDIR}.junk/