2007-10-07 08:49:35 +05:30
|
|
|
# This is the src/RelLib 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
|
|
|
|
|
2007-11-05 02:11:12 +05:30
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@/gen/db
|
2007-10-07 08:49:35 +05:30
|
|
|
|
|
|
|
pkgdata_PYTHON = \
|
2009-12-20 10:00:28 +05:30
|
|
|
__init__.py \
|
|
|
|
backup.py \
|
2007-10-07 08:49:35 +05:30
|
|
|
base.py \
|
2009-08-20 02:00:40 +05:30
|
|
|
bsddbtxn.py \
|
2007-10-07 08:49:35 +05:30
|
|
|
cursor.py \
|
|
|
|
dbconst.py \
|
|
|
|
exceptions.py \
|
2009-08-20 02:00:40 +05:30
|
|
|
iterator.py \
|
|
|
|
read.py \
|
|
|
|
txn.py \
|
|
|
|
undoredo.py \
|
|
|
|
upgrade.py \
|
|
|
|
write.py
|
2007-10-07 08:49:35 +05:30
|
|
|
|
2007-11-05 02:11:12 +05:30
|
|
|
pkgpyexecdir = @pkgpyexecdir@/gen/db
|
|
|
|
pkgpythondir = @pkgpythondir@/gen/db
|
2007-10-07 08:49:35 +05:30
|
|
|
|
|
|
|
|
|
|
|
# Clean up all the byte-compiled files
|
|
|
|
MOSTLYCLEANFILES = *pyc *pyo
|
|
|
|
|
2007-11-05 02:11:12 +05:30
|
|
|
GRAMPS_PY_MODPATH = "../../"
|
2007-10-07 08:49:35 +05:30
|
|
|
|
|
|
|
pycheck:
|
|
|
|
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
|
|
|
pychecker $(pkgdata_PYTHON));
|