From c6f9757cca20ca05e8e8812446e9a6aef5306ee6 Mon Sep 17 00:00:00 2001 From: "Donald A. Peterson" Date: Tue, 9 Apr 2002 01:12:46 +0000 Subject: [PATCH] Modified (better?) makefile svn: r902 --- gramps/doc/extending-gramps/C/Makefile.in | 3 +++ gramps/doc/gramps-manual/C/Makefile.in | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/gramps/doc/extending-gramps/C/Makefile.in b/gramps/doc/extending-gramps/C/Makefile.in index d3c078290..daeae1d2c 100644 --- a/gramps/doc/extending-gramps/C/Makefile.in +++ b/gramps/doc/extending-gramps/C/Makefile.in @@ -17,3 +17,6 @@ uninstall: -rmdir ${GNOMEHELP}/${EG}/C/ clean: + -rm -rf ${MANDIR}/*.html + -rm -rf ${MANDIR}/stylesheet-images/ + -rm -rf ${MANDIR}.junk/ diff --git a/gramps/doc/gramps-manual/C/Makefile.in b/gramps/doc/gramps-manual/C/Makefile.in index f02acb0b9..08bc88823 100644 --- a/gramps/doc/gramps-manual/C/Makefile.in +++ b/gramps/doc/gramps-manual/C/Makefile.in @@ -7,6 +7,11 @@ all: ${MANDIR}/index.html ${MANDIR}/index.html: ${MANSRC} ${DB2HTML} ${MANSRC} -o ${MANDIR} + 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 @@ -19,3 +24,5 @@ uninstall: -rmdir ${GNOMEHELP}/${GM}/C clean: + -rm -f ${MANDIR}/*.html + -rm -rf ${MANDIR}.junk/