gramps/doc/gramps-manual/C/Makefile.in
2002-04-09 19:00:13 +00:00

30 lines
671 B
Makefile

include @top_srcdir@/Makefile.comm
MANSRC = ${GM}.sgml
MANDIR = ${GM}
all: ${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 ${GM}/*.html ${GNOMEHELP}/${GM}/C
-${INSTALL} -m 644 ${GM}/*.png ${GNOMEHELP}/${GM}/C
uninstall:
-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/