2002-03-30 09:19:19 +05:30
|
|
|
include Makefile.comm
|
2001-05-13 07:26:57 +05:30
|
|
|
|
2002-03-30 09:19:19 +05:30
|
|
|
ifeq (${DB2HTML},)
|
|
|
|
DOCS =
|
|
|
|
else
|
|
|
|
DOCS = doc/${GM}/C doc/${EG}/C
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Append ${DOCS} to the next line to generate documentation
|
|
|
|
DIRS = src src/plugins src/docgen src/filters src/data ${DOCS}
|
2001-05-13 07:26:57 +05:30
|
|
|
|
|
|
|
all:
|
2002-03-30 09:19:19 +05:30
|
|
|
@ for dir in ${DIRS}; do \
|
|
|
|
echo "Making all in $$dir"; \
|
|
|
|
(cd $$dir; ${MAKE} all); \
|
|
|
|
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}
|
|
|
|
${INSTALL} gramps.sh ${bindir}/gramps
|
2001-08-10 03:44:15 +05:30
|
|
|
${INSTALL} doc/gramps.dtd ${sharedir}
|
2001-05-13 07:26:57 +05:30
|
|
|
chmod +x ${bindir}/gramps
|
|
|
|
|
|
|
|
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
|