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-03 02:14:39 +05:30
|
|
|
SUBDIRS = docgen plugins dates data po GrampsDb RelLib ObjectSelector GrampsLogger TreeViews
|
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\
|
|
|
|
AddrEdit.py\
|
|
|
|
ansel_utf8.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
ArgHandler.py\
|
|
|
|
Assistant.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
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-05-27 09:59:43 +05:30
|
|
|
ColumnOrder.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
const.py.in\
|
|
|
|
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
|
|
|
DisplayTrace.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
EditEventRef.py\
|
|
|
|
EditFamily.py\
|
|
|
|
EditMedia.py\
|
|
|
|
EditMediaRef.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
EditPerson.py\
|
|
|
|
EditPlace.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
EditPrimary.py\
|
|
|
|
EditRepository.py\
|
|
|
|
EditSecondary.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
EditSource.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
EditSourceRef.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
Errors.py\
|
|
|
|
EventEdit.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
events24.png\
|
|
|
|
events.png\
|
|
|
|
EventView.py\
|
|
|
|
Exporter.py\
|
|
|
|
FamilyList.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
FamilyView.py\
|
|
|
|
FontScale.py\
|
|
|
|
GenericFilter.py\
|
2005-12-29 04:30:33 +05:30
|
|
|
GnomeMime.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
GrampsCfg.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
GrampsDb\
|
2005-12-06 12:08:09 +05:30
|
|
|
GrampsDisplay.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
GrampsGconfKeys.py\
|
|
|
|
GrampsIniKeys.py\
|
|
|
|
GrampsKeys.py\
|
|
|
|
GrampsLocale.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
gramps_main.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
GrampsMime.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
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\
|
|
|
|
LocEdit.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
locked.png\
|
|
|
|
MapView.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
MediaView.py\
|
|
|
|
MergeData.py\
|
2005-04-10 20:08:06 +05:30
|
|
|
MergePeople.py\
|
2005-01-01 09:57:15 +05:30
|
|
|
NameDisplay.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
NameEdit.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
Navigation.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
NoteEdit.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
ObjectSelector\
|
|
|
|
Options.py\
|
|
|
|
PageView.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
PaperMenu.py\
|
|
|
|
PedView.py\
|
2004-04-07 07:41:32 +05:30
|
|
|
PeopleModel.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
PersonView.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
PlaceView.py\
|
2005-01-05 10:32:19 +05:30
|
|
|
PluginMgr.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
plugins.glade\
|
|
|
|
Plugins.py\
|
2005-12-29 04:30:33 +05:30
|
|
|
PythonMime.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\
|
2006-03-02 23:36:21 +05:30
|
|
|
RepositoryView.py\
|
2005-08-17 22:08:19 +05:30
|
|
|
ScratchPad.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
SelectChild.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\
|
|
|
|
SourceView.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
Spell.py\
|
2003-03-07 07:51:18 +05:30
|
|
|
SpreadSheetDoc.py\
|
|
|
|
StartupDialog.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
stock_link.png\
|
2003-03-07 07:51:18 +05:30
|
|
|
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
|
|
|
UrlEdit.py\
|
|
|
|
Utils.py\
|
2006-03-02 23:36:21 +05:30
|
|
|
ViewManager.py\
|
|
|
|
WindowUtils.py\
|
|
|
|
Witness.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\
|
2005-04-19 09:50:17 +05:30
|
|
|
edit_person.glade\
|
2003-03-07 07:51:18 +05:30
|
|
|
mergedata.glade\
|
|
|
|
plugins.glade\
|
2005-08-17 22:08:19 +05:30
|
|
|
rule.glade\
|
|
|
|
scratchpad.glade
|
2003-03-07 07:51:18 +05:30
|
|
|
|
2003-01-31 10:28:24 +05:30
|
|
|
GRAPHICS = \
|
|
|
|
logo.png\
|
2004-06-16 09:08:26 +05:30
|
|
|
gramps.png \
|
2003-01-31 10:28:24 +05:30
|
|
|
media.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)
|
2005-12-06 12:08:09 +05:30
|
|
|
|
|
|
|
cmdplug:
|
|
|
|
./build_cmdplug
|