2005-02-02 19:32:13 +05:30
|
|
|
# $Id$
|
2005-08-18 11:28:28 +05:30
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
# This is the src level Makefile for Gramps
|
2006-03-04 10:54:16 +05:30
|
|
|
SUBDIRS = \
|
2006-03-04 21:07:04 +05:30
|
|
|
Config \
|
|
|
|
DataViews \
|
|
|
|
Editors \
|
2006-03-04 10:54:16 +05:30
|
|
|
GrampsDb \
|
|
|
|
GrampsLogger \
|
|
|
|
Mime \
|
2006-03-04 12:04:48 +05:30
|
|
|
Models \
|
2006-03-04 21:07:04 +05:30
|
|
|
ObjectSelector \
|
|
|
|
RelLib \
|
|
|
|
TreeViews \
|
|
|
|
data \
|
|
|
|
dates \
|
2006-03-05 04:55:22 +05:30
|
|
|
glade \
|
2006-03-04 21:07:04 +05:30
|
|
|
docgen \
|
2006-03-04 10:54:16 +05:30
|
|
|
images \
|
2006-03-04 21:07:04 +05:30
|
|
|
plugins \
|
|
|
|
po
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
# For intl. support, how do we compile?
|
|
|
|
MOSTLYCLEANFILES =
|
2005-02-19 06:19:49 +05:30
|
|
|
CLEANFILES = const.pyc const.pyo
|
2005-08-18 11:28:28 +05:30
|
|
|
|
2002-10-20 19:55:16 +05:30
|
|
|
# What are the PYTHON scripts for this package that need to be handled?
|
|
|
|
#
|
|
|
|
# We only want optimized byte-compiled (.pyo) versions, no .pyc
|
|
|
|
# In principle, this is handled by PYCFILES and PYOFILES, but
|
|
|
|
# they don't seem to work so we edited the py-compile script instead
|
2003-03-07 07:51:18 +05:30
|
|
|
|
2004-10-07 00:46:26 +05:30
|
|
|
gdirdir=$(prefix)/share/gramps
|
2004-05-27 09:59:43 +05:30
|
|
|
|
2004-10-13 09:21:27 +05:30
|
|
|
docfiles = \
|
|
|
|
RelLib.py \
|
|
|
|
Date.py \
|
|
|
|
DateParser.py \
|
|
|
|
DateDisplay.py \
|
|
|
|
GrampsDbBase.py
|
|
|
|
|
2004-05-27 09:59:43 +05:30
|
|
|
gdir_PYTHON = \
|
2003-03-07 07:51:18 +05:30
|
|
|
AddMedia.py\
|
|
|
|
ansel_utf8.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
ArgHandler.py\
|
|
|
|
Assistant.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
AutoComp.py\
|
2003-09-03 19:47:53 +05:30
|
|
|
BaseDoc.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
Bookmarks.py\
|
2004-05-27 09:59:43 +05:30
|
|
|
ColumnOrder.py\
|
2006-03-03 02:58:27 +05:30
|
|
|
const.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
DateDisplay.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
DateEdit.py\
|
2004-09-17 09:00:04 +05:30
|
|
|
DateHandler.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
DateParser.py\
|
|
|
|
Date.py\
|
2005-03-24 19:14:54 +05:30
|
|
|
DdTargets.py\
|
2004-05-27 09:59:43 +05:30
|
|
|
DisplayModels.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
DisplayState.py\
|
|
|
|
DisplayTabs.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
Errors.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
Exporter.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
FontScale.py\
|
|
|
|
GenericFilter.py\
|
|
|
|
GrampsCfg.py\
|
2005-12-06 12:08:09 +05:30
|
|
|
GrampsDisplay.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
GrampsLocale.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
gramps_main.py\
|
|
|
|
gramps.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
GrampsWidgets.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
ImgManip.py\
|
|
|
|
latin_ansel.py\
|
|
|
|
ListModel.py\
|
|
|
|
MergeData.py\
|
2005-04-10 20:08:06 +05:30
|
|
|
MergePeople.py\
|
2005-01-01 09:57:15 +05:30
|
|
|
NameDisplay.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
Navigation.py\
|
|
|
|
Options.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
PaperMenu.py\
|
2004-04-07 07:41:32 +05:30
|
|
|
PeopleModel.py\
|
2005-01-05 10:32:19 +05:30
|
|
|
PluginMgr.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
Plugins.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
QuestionDialog.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
RecentFiles.py\
|
2003-03-23 01:56:44 +05:30
|
|
|
Relationship.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
RelImage.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
ReportOptions.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
Report.py\
|
2005-01-18 11:12:08 +05:30
|
|
|
ReportUtils.py\
|
2005-08-17 22:08:19 +05:30
|
|
|
ScratchPad.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
SelectEvent.py\
|
2003-09-08 18:29:56 +05:30
|
|
|
SelectObject.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
SelectPerson.py\
|
2004-05-07 07:50:39 +05:30
|
|
|
Sort.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
soundex.py\
|
|
|
|
Sources.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
Spell.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
SpreadSheetDoc.py\
|
|
|
|
StartupDialog.py\
|
|
|
|
StyleEditor.py\
|
|
|
|
SubstKeywords.py\
|
2004-05-27 09:59:43 +05:30
|
|
|
TipOfDay.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
Tool.py\
|
|
|
|
ToolTips.py\
|
|
|
|
TransUtils.py\
|
2005-03-15 19:18:18 +05:30
|
|
|
TreeTips.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
Utils.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
ViewManager.py\
|
2006-03-05 08:06:09 +05:30
|
|
|
WindowUtils.py
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2003-05-21 06:00:02 +05:30
|
|
|
# Could use GNU make's ':=' syntax for nice wildcard use.
|
2002-10-20 19:55:16 +05:30
|
|
|
# If not using GNU make, then list all files individually
|
2003-05-21 06:00:02 +05:30
|
|
|
# The latter is more portable and POSIX-friendly :)
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
# In principle the following rule slightly violates the automake/autoconf
|
|
|
|
# spirit of keeping each subdirectory as a separate entity unto itself.
|
|
|
|
# But, since the template depends on everything from here, we allow this
|
|
|
|
# one exception.
|
2003-05-21 06:00:02 +05:30
|
|
|
# Build po/template.po.
|
|
|
|
.PHONY: trans
|
|
|
|
trans:
|
2002-10-20 19:55:16 +05:30
|
|
|
./build_po
|
|
|
|
|
2003-05-21 06:00:02 +05:30
|
|
|
pycheck:
|
|
|
|
for d in $(SUBDIRS) ; do \
|
|
|
|
(cd $$d; make pycheck); \
|
|
|
|
done;
|
2004-05-27 09:59:43 +05:30
|
|
|
pychecker $(gdir_PYTHON)
|
2002-10-20 19:55:16 +05:30
|
|
|
|
2004-10-13 09:21:27 +05:30
|
|
|
docs:
|
|
|
|
epydoc -o doc --url http://gramps.sourceforge.net --name GRAMPS --html $(docfiles)
|
2004-10-29 06:19:40 +05:30
|
|
|
epydoc --pdf $(docfiles)
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
cmdplug:
|
|
|
|
./build_cmdplug
|