prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ datadir = @datadir@/@PACKAGE@ INSTALL = @INSTALL@ srcdir = @top_srcdir@ pycomp = ${srcdir}/py-compile CFLAGS = -fPIC -shared -O @PYTHON_INCLUDES@ LANG = sv de fr @SET_MAKE@ all: intl.so chmod +x ${pycomp} ${pycomp} *.py intl.so: intl.c $(CC) $(CFLAGS) -o intl.so intl.c install: ${INSTALL} -d ${datadir} ${INSTALL} *.py *.jpg *.pyo *.glade *.xpm *.so ${datadir} ${INSTALL} -d ${prefix}/share/pixmaps ${INSTALL} gramps.png ${prefix}/share/pixmaps ${INSTALL} -d ${prefix}/share/gnome/apps/Applications ${INSTALL} gramps.desktop ${prefix}/share/gnome/apps/Applications for i in ${LANG}; do\ ${INSTALL} -d ${prefix}/share/locale/$$i; \ ${INSTALL} -d ${prefix}/share/locale/$$i/LC_MESSAGES; \ ${INSTALL} locale/$$i/LC_MESSAGES/gramps.mo ${prefix}/share/locale/$$i/LC_MESSAGES; \ done uninstall: rm -f ${datadir}/*.py ${datadir}/*.pyo ${datadir}/*.glade ${datadir}/*.xpm -rmdir ${datadir} clean: -rm -f core *.pyo *.pyc *.bak *~