# This is the src/Filters level Makefile for Gramps
# $Id$

SUBDIRS = Rules SideBar

pkgpythondir = $(datadir)/@PACKAGE@/Filters

pkgpython_PYTHON = \
	_FilterComboBox.py \
	_FilterList.py \
	_FilterMenu.py \
	_FilterParser.py \
	_FilterStore.py \
	_GenericFilter.py \
	_ParamFilter.py \
	__init__.py \
	_SearchBar.py \
	_SearchFilter.py

pkgpyexecdir = @pkgpyexecdir@/Filters

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

GRAMPS_PY_MODPATH = "../"

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