New makefile structure

svn: r878
This commit is contained in:
Donald A. Peterson 2002-03-30 03:41:34 +00:00
parent e842c3e4c6
commit 8c822852ab
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,19 @@
include @top_srcdir@/Makefile.comm
MANSRC = ${EG}.sgml
MANDIR = ${EG}
all: ${MANDIR}/index.html
${MANDIR}/index.html: ${MANSRC}
db2html -c catalog ${MANSRC} -o ${MANDIR}
install:
-${INSTALL} -d ${GNOMEHELP}/${EG}/C
-${INSTALL} ${EG}/*.html ${GNOMEHELP}/${EG}/C
uninstall:
-rm -f ${GNOMEHELP}/${EG}/C/*.html
-rmdir ${GNOMEHELP}/${EG}/C/
clean:

View File

@ -0,0 +1,21 @@
include @top_srcdir@/Makefile.comm
MANSRC = ${GM}.sgml
MANDIR = ${GM}
all: ${MANDIR}/index.html
${MANDIR}/index.html: ${MANSRC}
${DB2HTML} -c catalog ${MANSRC} -o ${MANDIR}
install:
-${INSTALL} -d ${GNOMEHELP}/${GM}/C
-${INSTALL} ${GM}/*.html ${GNOMEHELP}/${GM}/C
-${INSTALL} ${GM}/*.png ${GNOMEHELP}/${GM}/C
uninstall:
-rm -f ${GNOMEHELP}/${GM}/C/*.html
-rm -f ${GNOMEHELP}/${GM}/C/*.png
-rmdir ${GNOMEHELP}/${GM}/C
clean: