4f36a0694a
svn: r123
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
datadir = @datadir@/@PACKAGE@
|
|
INSTALL = @INSTALL@
|
|
|
|
@SET_MAKE@
|
|
|
|
all:
|
|
(cd src; ${MAKE} all)
|
|
(cd src/plugins; ${MAKE} all)
|
|
(cd src/filters; ${MAKE} all)
|
|
(cd src/data; ${MAKE} all)
|
|
|
|
install:
|
|
(cd src; ${MAKE} install)
|
|
(cd src/plugins; ${MAKE} install)
|
|
(cd src/filters; ${MAKE} install)
|
|
(cd src/data; ${MAKE} install)
|
|
${INSTALL} -c gramps.sh ${bindir}/gramps
|
|
-${INSTALL} -d ${prefix}/share/example/gramps
|
|
-${INSTALL} -d ${prefix}/share/example/gedcom
|
|
-${INSTALL} -c example/gramps/* ${prefix}/share/example/gramps
|
|
-${INSTALL} -c example/gedcom/* ${prefix}/share/example/gedcom
|
|
chmod +x ${bindir}/gramps
|
|
|
|
uninstall:
|
|
(cd src; ${MAKE} uninstall)
|
|
(cd src/plugins; ${MAKE} uninstall)
|
|
(cd src/filters; ${MAKE} uninstall)
|
|
(cd src/data; ${MAKE} uninstall)
|
|
rm ${bindir}/gramps
|
|
|
|
clean:
|
|
(cd src; ${MAKE} clean)
|
|
(cd src/plugins; ${MAKE} clean)
|
|
(cd src/filters; ${MAKE} clean)
|
|
(cd src/data; ${MAKE} clean)
|
|
rm -f core *~ config.cache config.log config.status
|