From 041b21cfab9f6b6846637438f939da866cffaaff 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 --- doc/extending-gramps/C/Makefile.in | 3 +++ doc/gramps-manual/C/Makefile.in | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/doc/extending-gramps/C/Makefile.in b/doc/extending-gramps/C/Makefile.in index d3c078290..daeae1d2c 100644 --- a/doc/extending-gramps/C/Makefile.in +++ b/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/doc/gramps-manual/C/Makefile.in b/doc/gramps-manual/C/Makefile.in index f02acb0b9..08bc88823 100644 --- a/doc/gramps-manual/C/Makefile.in +++ b/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/