diff --git a/ChangeLog b/ChangeLog index a1737e1ae..05c557289 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,9 @@ privacy flag and comment to the privacy flag and note of the new EventRef for old witness_by_ID references. + * src/GrampsDb/Makefile.am, .cvsignore: Add to CVS. + * configure.in: Create Makefile in new directory. + 2005-12-21 Richard Taylor * src/EditSource.py: fixed small mistake in display_references diff --git a/configure.in b/configure.in index 5599a24a4..1bf441bb7 100644 --- a/configure.in +++ b/configure.in @@ -252,6 +252,7 @@ Makefile src/Makefile src/const.py src/RelLib/Makefile +src/GrampsDb/Makefile src/docgen/Makefile src/plugins/Makefile src/dates/Makefile diff --git a/src/GrampsDb/.cvsignore b/src/GrampsDb/.cvsignore new file mode 100644 index 000000000..c3ec8f1b3 --- /dev/null +++ b/src/GrampsDb/.cvsignore @@ -0,0 +1,4 @@ +Makefile +Makefile.in +*.pyc +*.pyo diff --git a/src/GrampsDb/Makefile.am b/src/GrampsDb/Makefile.am new file mode 100644 index 000000000..9f83b18da --- /dev/null +++ b/src/GrampsDb/Makefile.am @@ -0,0 +1,33 @@ +# 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 + +pkgdatadir = $(datadir)/@PACKAGE@/RelLib + +pkgdata_PYTHON = \ + _GedcomInfo.py\ + _GrampsBSDDB.py\ + _GrampsDbBase.py\ + _GrampsDBCallback.py\ + _GrampsDbExceptions.py\ + _GrampsDbFactories.py\ + _GrampsGEDDB.py\ + _GrampsInMemDB.py\ + _GrampsXMLDB.py\ + __init__.py\ + _ReadGedcom.py\ + _ReadGrdb.py\ + _ReadXML.py\ + _WriteGedcom.py\ + _WriteGrdb.py\ + _WriteXML.py + +pkgpyexecdir = @pkgpyexecdir@/RelLib +pkgpythondir = @pkgpythondir@/RelLib + +GRAMPS_PY_MODPATH = "../" + +pycheck: + (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ + pychecker $(pkgdata_PYTHON));