2005-02-02 19:32:13 +05:30
|
|
|
# $Id$
|
2002-10-20 19:55:16 +05:30
|
|
|
# This is the src level Makefile for Gramps
|
2004-11-16 09:14:23 +05:30
|
|
|
SUBDIRS = docgen plugins dates data 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
|
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 = \
|
2004-08-19 08:07:35 +05:30
|
|
|
accent.py \
|
2003-03-07 07:51:18 +05:30
|
|
|
AddMedia.py\
|
|
|
|
AddrEdit.py\
|
|
|
|
AddSpouse.py\
|
|
|
|
ansel_utf8.py\
|
|
|
|
AttrEdit.py\
|
|
|
|
AutoComp.py\
|
2003-09-03 19:47:53 +05:30
|
|
|
BaseDoc.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
Bookmarks.py\
|
2004-09-17 09:00:04 +05:30
|
|
|
CalSdn.py\
|
2004-05-27 09:59:43 +05:30
|
|
|
ColumnOrder.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
ChooseParents.py\
|
|
|
|
const.py\
|
|
|
|
DateEdit.py\
|
|
|
|
Date.py\
|
2004-09-17 09:00:04 +05:30
|
|
|
DateParser.py\
|
|
|
|
DateHandler.py\
|
|
|
|
DateDisplay.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
DbPrompter.py\
|
2005-03-24 19:14:54 +05:30
|
|
|
DdTargets.py\
|
2004-05-27 09:59:43 +05:30
|
|
|
DisplayModels.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
DisplayTrace.py\
|
|
|
|
EditPerson.py\
|
|
|
|
EditPlace.py\
|
|
|
|
EditSource.py\
|
|
|
|
Errors.py\
|
|
|
|
EventEdit.py\
|
|
|
|
FamilyView.py\
|
|
|
|
FontScale.py\
|
|
|
|
GedcomInfo.py\
|
|
|
|
GenericFilter.py\
|
|
|
|
GrampsCfg.py\
|
2004-07-31 10:04:11 +05:30
|
|
|
GrampsBSDDB.py\
|
2004-08-11 10:36:28 +05:30
|
|
|
GrampsDbBase.py\
|
2004-09-19 09:41:34 +05:30
|
|
|
GrampsInMemDB.py\
|
2004-08-11 10:36:28 +05:30
|
|
|
GrampsXMLDB.py\
|
|
|
|
GrampsGEDDB.py\
|
2004-05-27 09:59:43 +05:30
|
|
|
GrampsMime.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
gramps_main.py\
|
|
|
|
gramps.py\
|
|
|
|
GraphLayout.py\
|
|
|
|
ImageSelect.py\
|
|
|
|
ImgManip.py\
|
|
|
|
latin_ansel.py\
|
|
|
|
latin_utf8.py\
|
|
|
|
ListModel.py\
|
|
|
|
LocEdit.py\
|
|
|
|
Marriage.py\
|
|
|
|
MediaView.py\
|
|
|
|
MergeData.py\
|
2005-01-01 09:57:15 +05:30
|
|
|
NameDisplay.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
NameEdit.py\
|
|
|
|
NoteEdit.py\
|
|
|
|
PaperMenu.py\
|
|
|
|
PedView.py\
|
2003-10-06 22:24:15 +05:30
|
|
|
PeopleView.py\
|
2004-04-07 07:41:32 +05:30
|
|
|
PeopleModel.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
PlaceView.py\
|
|
|
|
Plugins.py\
|
2005-01-05 10:32:19 +05:30
|
|
|
PluginMgr.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
QuestionDialog.py\
|
2004-08-02 03:08:50 +05:30
|
|
|
ReadGedcom.py \
|
2003-03-07 07:51:18 +05:30
|
|
|
ReadXML.py\
|
2003-03-23 01:56:44 +05:30
|
|
|
Relationship.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
RelImage.py\
|
|
|
|
RelLib.py\
|
|
|
|
Report.py\
|
2005-01-18 11:12:08 +05:30
|
|
|
ReportUtils.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
SelectChild.py\
|
2003-09-08 18:29:56 +05:30
|
|
|
SelectObject.py\
|
2004-05-07 07:50:39 +05:30
|
|
|
Sort.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
soundex.py\
|
|
|
|
Sources.py\
|
|
|
|
SourceView.py\
|
|
|
|
SpreadSheetDoc.py\
|
|
|
|
StartupDialog.py\
|
|
|
|
StyleEditor.py\
|
|
|
|
SubstKeywords.py\
|
|
|
|
TarFile.py\
|
2004-05-27 09:59:43 +05:30
|
|
|
TipOfDay.py\
|
2004-01-21 05:05:22 +05:30
|
|
|
TransTable.py\
|
2005-03-15 19:18:18 +05:30
|
|
|
TreeTips.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
UrlEdit.py\
|
|
|
|
Utils.py\
|
|
|
|
Witness.py\
|
2004-08-02 03:08:50 +05:30
|
|
|
WriteGedcom.py \
|
2003-07-08 05:24:40 +05:30
|
|
|
WriteXML.py\
|
2003-10-13 07:25:56 +05:30
|
|
|
SelectPerson.py\
|
2004-07-09 23:49:47 +05:30
|
|
|
ArgHandler.py\
|
2004-09-25 10:42:15 +05:30
|
|
|
Exporter.py\
|
2005-01-08 01:09:08 +05:30
|
|
|
GrampsKeys.py\
|
|
|
|
GrampsIniKeys.py\
|
2004-11-25 11:12:31 +05:30
|
|
|
GrampsGconfKeys.py\
|
2004-12-22 07:26:37 +05:30
|
|
|
RecentFiles.py\
|
2005-02-02 19:32:13 +05:30
|
|
|
ReportOptions.py\
|
|
|
|
ReadGrdb.py\
|
|
|
|
WriteGrdb.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 :)
|
2003-03-07 07:51:18 +05:30
|
|
|
GLADEFILES = \
|
|
|
|
gramps.glade\
|
|
|
|
mergedata.glade\
|
2004-08-02 03:08:50 +05:30
|
|
|
gedcomexport.glade\
|
|
|
|
gedcomimport.glade\
|
2003-03-07 07:51:18 +05:30
|
|
|
plugins.glade\
|
2004-04-11 08:09:27 +05:30
|
|
|
rule.glade
|
2003-03-07 07:51:18 +05:30
|
|
|
|
2003-01-31 10:28:24 +05:30
|
|
|
GRAPHICS = \
|
|
|
|
bad.png\
|
|
|
|
caution.png\
|
|
|
|
edit.png\
|
2004-10-29 06:19:40 +05:30
|
|
|
edit_sm.png \
|
2003-01-31 10:28:24 +05:30
|
|
|
family48.png\
|
|
|
|
good.png\
|
2004-05-27 09:59:43 +05:30
|
|
|
home.png\
|
2003-01-31 10:28:24 +05:30
|
|
|
logo.png\
|
2004-06-16 09:08:26 +05:30
|
|
|
gramps.png \
|
2003-01-31 10:28:24 +05:30
|
|
|
media.png\
|
|
|
|
people48.png\
|
|
|
|
place.png\
|
|
|
|
sources.png\
|
2003-08-16 08:53:48 +05:30
|
|
|
splash.jpg\
|
|
|
|
tools.png
|
2002-10-20 19:55:16 +05:30
|
|
|
|
|
|
|
# Other stuff that we need to install
|
2004-05-27 09:59:43 +05:30
|
|
|
dist_pkgdata_DATA = $(GLADEFILES) $(GRAPHICS)
|
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)
|