2002-03-30 09:19:19 +05:30
|
|
|
include Makefile.comm
|
2001-05-13 07:26:57 +05:30
|
|
|
|
2002-04-19 04:45:35 +05:30
|
|
|
SRCS = src src/plugins src/docgen src/filters src/data
|
2002-03-30 09:19:19 +05:30
|
|
|
DOCS = doc/${GM}/C doc/${EG}/C
|
|
|
|
|
2002-04-19 04:45:35 +05:30
|
|
|
DIRS = ${SRCS} ${DOCS}
|
2001-05-13 07:26:57 +05:30
|
|
|
|
|
|
|
all:
|
2002-04-19 04:45:35 +05:30
|
|
|
@ for dir in ${SRCS}; do \
|
2002-03-30 09:19:19 +05:30
|
|
|
echo "Making all in $$dir"; \
|
|
|
|
(cd $$dir; ${MAKE} all); \
|
|
|
|
done
|
2001-05-13 07:26:57 +05:30
|
|
|
|
2002-04-19 04:45:35 +05:30
|
|
|
html:
|
|
|
|
@ for dir in ${DOCS}; do \
|
|
|
|
echo "Making all in $$dir"; \
|
|
|
|
(cd $$dir; ${MAKE} html); \
|
|
|
|
done
|
|
|
|
|
2001-05-13 07:26:57 +05:30
|
|
|
install:
|
2002-03-30 09:19:19 +05:30
|
|
|
@ for dir in ${DIRS}; do \
|
|
|
|
echo "Making install in $$dir"; \
|
|
|
|
(cd $$dir; ${MAKE} install); \
|
|
|
|
done
|
2001-06-17 20:20:10 +05:30
|
|
|
-${INSTALL} -d ${bindir}
|
2002-04-19 04:45:35 +05:30
|
|
|
${INSTALL} -m 755 gramps.sh ${bindir}/gramps
|
|
|
|
${INSTALL} -m 644 doc/gramps.dtd ${sharedir}
|
|
|
|
|
|
|
|
install-html:
|
|
|
|
@ for dir in ${DOCS}; do \
|
|
|
|
echo "Making install-html in $$dir"; \
|
|
|
|
(cd $$dir; ${MAKE} install-html); \
|
|
|
|
done
|
2001-05-13 07:26:57 +05:30
|
|
|
|
|
|
|
uninstall:
|
2002-03-30 09:19:19 +05:30
|
|
|
@ for dir in ${DIRS}; do \
|
|
|
|
echo "Making uninstall in $$dir"; \
|
|
|
|
(cd $$dir; ${MAKE} uninstall); \
|
|
|
|
done
|
2001-05-13 07:26:57 +05:30
|
|
|
rm ${bindir}/gramps
|
|
|
|
|
|
|
|
clean:
|
2002-03-30 09:19:19 +05:30
|
|
|
@ for dir in ${DIRS}; do \
|
|
|
|
echo "Making clean in $$dir"; \
|
|
|
|
(cd $$dir; ${MAKE} clean); \
|
|
|
|
done
|
2001-05-13 07:26:57 +05:30
|
|
|
rm -f core *~ config.cache config.log config.status
|