2007-02-04 01:38:41 +05:30
|
|
|
# This is the src/GrampsDbUtils 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
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@/GrampsDbUtils
|
|
|
|
|
|
|
|
pkgdata_PYTHON = \
|
2007-06-17 04:47:29 +05:30
|
|
|
_Backup.py\
|
|
|
|
_GedcomChar.py\
|
2007-02-04 01:38:41 +05:30
|
|
|
_GedcomInfo.py\
|
2007-06-17 04:47:29 +05:30
|
|
|
_GedcomLex.py\
|
2007-02-25 20:40:32 +05:30
|
|
|
_GedcomParse.py\
|
2007-09-08 02:54:01 +05:30
|
|
|
_GedcomStageOne.py\
|
2007-06-17 04:47:29 +05:30
|
|
|
_GedcomTokens.py\
|
2007-02-14 05:30:31 +05:30
|
|
|
_GedcomUtils.py\
|
2007-06-17 04:47:29 +05:30
|
|
|
_GrampsDbWRFactories.py\
|
2007-02-04 01:38:41 +05:30
|
|
|
__init__.py\
|
|
|
|
_ReadGedcom.py\
|
|
|
|
_ReadXML.py\
|
|
|
|
_WriteGedcom.py\
|
|
|
|
_WriteGrdb.py\
|
2007-06-17 04:47:29 +05:30
|
|
|
_WriteXML.py
|
2007-02-04 01:38:41 +05:30
|
|
|
|
|
|
|
pkgpyexecdir = @pkgpyexecdir@/GrampsDbUtils
|
|
|
|
pkgpythondir = @pkgpythondir@/GrampsDbUtils
|
|
|
|
|
|
|
|
GLADEFILES = \
|
2007-08-25 10:33:23 +05:30
|
|
|
gedcomimport.glade
|
2007-02-04 01:38:41 +05:30
|
|
|
|
|
|
|
dist_pkgdata_DATA = $(GLADEFILES)
|
|
|
|
|
|
|
|
# Clean up all the byte-compiled files
|
|
|
|
MOSTLYCLEANFILES = *pyc *pyo
|
|
|
|
|
|
|
|
GRAMPS_PY_MODPATH = "../"
|
|
|
|
|
|
|
|
pycheck:
|
|
|
|
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
|
|
|
|
pychecker $(pkgdata_PYTHON));
|
2007-02-16 11:26:51 +05:30
|
|
|
|
|
|
|
pylint:
|
|
|
|
(export PYTHONPATH=..:.; pylint --rcfile=pylintrc _GedcomParse.py)
|