# This is the src level Makefile for Gramps # $Id$ SUBDIRS = \ Config \ DataViews \ Editors \ Filters \ FilterEditor \ GrampsDb \ Merge \ DisplayTabs \ DisplayModels \ GrampsLogger \ Mime \ Selectors \ RelLib \ data \ DateHandler \ PluginUtils \ ReportBase \ glade \ docgen \ images \ plugins gdirdir=$(prefix)/share/gramps gdir_PYTHON = \ AddMedia.py\ ansel_utf8.py\ ArgHandler.py\ Assistant.py\ AutoComp.py\ BaseDoc.py\ Bookmarks.py\ ColumnOrder.py\ const.py\ DateEdit.py\ Date.py\ DbLoader.py\ DdTargets.py\ DisplayState.py\ Errors.py\ Exporter.py\ FontScale.py\ GrampsCfg.py\ GrampsDisplay.py\ GrampsLocale.py\ gramps_main.py\ gramps.py\ GrampsWidgets.py\ ImgManip.py\ LdsUtils.py \ ListModel.py\ ManagedWindow.py\ NameDisplay.py\ Navigation.py\ PageView.py\ QuestionDialog.py\ RecentFiles.py\ Relationship.py\ ScratchPad.py\ Sort.py\ soundex.py\ Spell.py\ StartupDialog.py\ SubstKeywords.py\ TipOfDay.py\ ToolTips.py\ TransUtils.py\ TreeTips.py\ Utils.py\ ViewManager.py\ UndoHistory.py\ BasicUtils.py # Clean up all the byte-compiled files MOSTLYCLEANFILES = *pyc *pyo # Which modules to document docmodules = RelLib DateHandler GrampsDb Filters BaseDoc pycheck: for d in $(SUBDIRS) ; do \ (cd $$d; make pycheck); \ done; pychecker $(gdir_PYTHON) docs: epydoc -o doc --url http://gramps-project.org --name GRAMPS --html $(docmodules) epydoc --pdf $(docmodules) cmdplug: ./build_cmdplug