# This is the src/Filters/Rules/Family level Makefile for Gramps

pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Family

pkgdata_PYTHON = \
	_AllFamilies.py\
	_ChangedSince.py\
	_FamilyPrivate.py\
	_HasEvent.py\
	_HasAttribute.py\
	_HasCitation.py \
	_HasGallery.py \
	_HasIdOf.py\
	_HasLDS.py \
	_HasNote.py \
	_HasNoteMatchingSubstringOf.py\
	_HasNoteRegexp.py\
	_HasReferenceCountOf.py\
	_HasRelType.py\
	_HasSourceCount.py \
	_HasTag.py \
	__init__.py\
	_IsBookmarked.py\
	_RegExpIdOf.py\
	_MatchesFilter.py\
        _MatchesSourceConfidence.py\
	_FatherHasNameOf.py\
	_FatherHasIdOf.py\
	_MotherHasNameOf.py\
	_MotherHasIdOf.py\
	_ChildHasNameOf.py\
	_ChildHasIdOf.py\
	_SearchFatherName.py\
	_SearchMotherName.py\
	_SearchChildName.py\
	_RegExpFatherName.py\
	_RegExpMotherName.py\
	_RegExpChildName.py\
	_MemberBase.py


pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Family
pkgpythondir = @pkgpythondir@/Filters/Rules/Family

# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo

GRAMPS_PY_MODPATH = "../../../"

pycheck: 
	(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
	pychecker $(pkgdata_PYTHON));
