2009-03-24 04:12:31 +00:00
|
|
|
# This is the src/plugins/lib level Makefile for Gramps
|
|
|
|
# We could use GNU make's ':=' syntax for nice wildcard use,
|
|
|
|
# but that is not necessarily portable.
|
|
|
|
# If not using GNU make, then list all .py files individually
|
|
|
|
|
2010-05-21 12:58:08 +00:00
|
|
|
xml_in_files = holidays.xml.in
|
2011-01-24 14:27:31 +00:00
|
|
|
xml_files = $(xml_in_files:.xml.in=.xml)
|
2010-05-21 12:58:08 +00:00
|
|
|
|
2011-01-21 08:53:23 +00:00
|
|
|
@INTLTOOL_XML_NOMERGE_RULE@
|
2010-05-21 12:58:08 +00:00
|
|
|
|
2011-01-24 14:28:45 +00:00
|
|
|
EXTRA_DIST=$(xml_in_files) $(xml_files)
|
2010-05-21 12:58:08 +00:00
|
|
|
|
2009-03-24 04:12:31 +00:00
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@/plugins/lib
|
|
|
|
|
|
|
|
pkgdata_PYTHON = \
|
|
|
|
libcairodoc.py\
|
2009-12-29 19:20:16 +00:00
|
|
|
libformatting.py\
|
|
|
|
libgedcom.py\
|
2009-03-24 04:12:31 +00:00
|
|
|
libgrampsxml.py\
|
2009-08-19 15:41:06 +00:00
|
|
|
libgrdb.py\
|
2009-06-06 09:49:40 +00:00
|
|
|
libhtml.py\
|
|
|
|
libhtmlbackend.py\
|
|
|
|
libhtmlconst.py\
|
2009-03-24 04:12:31 +00:00
|
|
|
libholiday.py\
|
2009-08-19 15:41:06 +00:00
|
|
|
libmapservice.py\
|
2009-08-20 15:15:10 +00:00
|
|
|
libmixin.py\
|
2011-01-07 16:11:17 +00:00
|
|
|
libnarrate.py\
|
2009-10-24 13:53:20 +00:00
|
|
|
libodfbackend.py\
|
2010-02-03 13:01:04 +00:00
|
|
|
libpersonview.py\
|
2010-02-03 20:44:00 +00:00
|
|
|
libplaceview.py\
|
2009-12-11 05:55:30 +00:00
|
|
|
libplugins.gpr.py\
|
2010-12-07 02:35:06 +00:00
|
|
|
libsubstkeyword.py\
|
2011-01-07 16:11:17 +00:00
|
|
|
libtranslate.py\
|
|
|
|
libtreebase.py
|
2009-03-24 04:12:31 +00:00
|
|
|
|
|
|
|
pkgpyexecdir = @pkgpyexecdir@/plugins/lib
|
|
|
|
pkgpythondir = @pkgpythondir@/plugins/lib
|
|
|
|
|
|
|
|
GLADEFILES =
|
|
|
|
|
|
|
|
GRAPHICS =
|
|
|
|
|
|
|
|
DATAFILES = \
|
|
|
|
holidays.xml
|
|
|
|
|
|
|
|
dist_pkgdata_DATA = $(GLADEFILES) $(GRAPHICS) $(DATAFILES)
|
|
|
|
|
2011-01-19 16:06:47 +00:00
|
|
|
CLEANFILES = \
|
2011-01-24 14:41:31 +00:00
|
|
|
$(xml_files)
|
2011-01-19 16:06:47 +00:00
|
|
|
|
2009-03-24 04:12:31 +00:00
|
|
|
# Clean up all the byte-compiled files
|
|
|
|
MOSTLYCLEANFILES = *pyc *pyo
|
|
|
|
|
|
|
|
GRAMPS_PY_MODPATH = "../../"
|
|
|
|
|
|
|
|
pycheck:
|
|
|
|
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
|
|
|
pychecker $(pkgdata_PYTHON));
|