# This is the src/plugins/rel 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@/plugins/tool pkgdata_PYTHON = \ CalculateEstimatedDates.py \ ChangeNames.py \ ChangeTypes.py \ Check.py \ CmdRef.py \ DateParserDisplayTest.py \ Desbrowser.py \ Eval.py \ EventCmp.py \ EventNames.py \ ExtractCity.py \ FindDupes.py \ Leak.py \ MediaManager.py \ NotRelated.py \ OwnerEditor.py \ PatchNames.py \ Rebuild.py \ RebuildRefMap.py \ RelCalc.py \ RemoveUnused.py \ ReorderIds.py \ SortEvents.py \ SoundGen.py \ Verify.py # DumpGenderStats.py \ # PHPGedViewConnector.py \ # TestcaseGenerator.py \ pkgpyexecdir = @pkgpyexecdir@/plugins/tool pkgpythondir = @pkgpythondir@/plugins/tool GLADEFILES = \ changenames.glade \ changetype.glade \ desbrowse.glade \ eval.glade \ eventcmp.glade \ leak.glade \ merge.glade \ NotRelated.glade \ ownereditor.glade \ patchnames.glade \ relcalc.glade \ soundex.glade \ summary.glade \ unused.glade \ verify.glade 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));