Modified (better?) makefile

svn: r902
This commit is contained in:
Donald A. Peterson 2002-04-09 01:12:46 +00:00
parent 1a6adcf4b2
commit c6f9757cca
2 changed files with 10 additions and 0 deletions

View File

@ -17,3 +17,6 @@ uninstall:
-rmdir ${GNOMEHELP}/${EG}/C/ -rmdir ${GNOMEHELP}/${EG}/C/
clean: clean:
-rm -rf ${MANDIR}/*.html
-rm -rf ${MANDIR}/stylesheet-images/
-rm -rf ${MANDIR}.junk/

View File

@ -7,6 +7,11 @@ all: ${MANDIR}/index.html
${MANDIR}/index.html: ${MANSRC} ${MANDIR}/index.html: ${MANSRC}
${DB2HTML} ${MANSRC} -o ${MANDIR} ${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:
-${INSTALL} -d ${GNOMEHELP}/${GM}/C -${INSTALL} -d ${GNOMEHELP}/${GM}/C
@ -19,3 +24,5 @@ uninstall:
-rmdir ${GNOMEHELP}/${GM}/C -rmdir ${GNOMEHELP}/${GM}/C
clean: clean:
-rm -f ${MANDIR}/*.html
-rm -rf ${MANDIR}.junk/