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

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

pkgdata_PYTHON = \
	_AllPlaces.py\
	_ChangedSince.py\
	_HasIdOf.py\
	_HasNoLatOrLon.py\
	_InLatLonNeighborhood.py\
	_HasGallery.py \
	_HasNoteMatchingSubstringOf.py\
	_HasNoteRegexp.py\
	_HasPlace.py\
	_HasNote.py \
	_HasReferenceCountOf.py\
	_MatchesFilter.py\
	_MatchesEventFilter.py\
	_PlacePrivate.py\
	_RegExpIdOf.py\
	__init__.py

pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Place
pkgpythondir = @pkgpythondir@/Filters/Rules/Place

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

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

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