gramps/gramps2/src/Makefile.am

189 lines
3.3 KiB
Makefile
Raw Normal View History

# $Id$
2002-10-20 19:55:16 +05:30
# This is the src level Makefile for Gramps
SUBDIRS = docgen plugins dates data po
2002-10-20 19:55:16 +05:30
# For intl. support, how do we compile?
MOSTLYCLEANFILES =
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
gdirdir=$(prefix)/share/gramps
docfiles = \
RelLib.py \
Date.py \
DateParser.py \
DateDisplay.py \
GrampsDbBase.py
gdir_PYTHON = \
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\
CalSdn.py\
ColumnOrder.py\
2003-03-07 07:51:18 +05:30
ChooseParents.py\
const.py\
DateEdit.py\
Date.py\
DateParser.py\
DateHandler.py\
DateDisplay.py\
2003-03-07 07:51:18 +05:30
DbPrompter.py\
DdTargets.py\
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\
GrampsDbBase.py\
GrampsDBCallback.py\
2005-12-06 12:08:09 +05:30
GrampsDisplay.py\
GrampsInMemDB.py\
GrampsXMLDB.py\
GrampsGEDDB.py\
GrampsMime.py\
2003-03-07 07:51:18 +05:30
gramps_main.py\
gramps.py\
ImageSelect.py\
ImgManip.py\
latin_ansel.py\
latin_utf8.py\
ListBox.py\
2003-03-07 07:51:18 +05:30
ListModel.py\
LocEdit.py\
Marriage.py\
MediaView.py\
MergeData.py\
MergePeople.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\
PeopleView.py\
2004-04-07 07:41:32 +05:30
PeopleModel.py\
2003-03-07 07:51:18 +05:30
PlaceView.py\
Plugins.py\
PluginMgr.py\
2003-03-07 07:51:18 +05:30
QuestionDialog.py\
ReadGedcom.py \
2003-03-07 07:51:18 +05:30
ReadXML.py\
Relationship.py\
2003-03-07 07:51:18 +05:30
RelImage.py\
RelLib.py\
Report.py\
ReportUtils.py\
ScratchPad.py\
2003-03-07 07:51:18 +05:30
SelectChild.py\
SelectObject.py\
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\
TipOfDay.py\
2004-01-21 05:05:22 +05:30
TransTable.py\
TreeTips.py\
2003-03-07 07:51:18 +05:30
UrlEdit.py\
Utils.py\
Witness.py\
WriteGedcom.py \
WriteXML.py\
SelectPerson.py\
ArgHandler.py\
Exporter.py\
GrampsKeys.py\
GrampsIniKeys.py\
GrampsGconfKeys.py\
2004-12-22 07:26:37 +05:30
RecentFiles.py\
ReportOptions.py\
ReadGrdb.py\
WriteGrdb.py\
EventView.py\
SelectEvent.py\
2005-12-06 12:08:09 +05:30
Spell.py\
Options.py\
Tool.py\
TransUtils.py\
WindowUtils.py
2002-10-20 19:55:16 +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
# The latter is more portable and POSIX-friendly :)
2003-03-07 07:51:18 +05:30
GLADEFILES = \
gramps.glade\
edit_person.glade\
2003-03-07 07:51:18 +05:30
mergedata.glade\
gedcomexport.glade\
gedcomimport.glade\
2003-03-07 07:51:18 +05:30
plugins.glade\
rule.glade\
scratchpad.glade
2003-03-07 07:51:18 +05:30
2003-01-31 10:28:24 +05:30
GRAPHICS = \
bad.png\
caution.png\
edit.png\
edit_sm.png \
2003-01-31 10:28:24 +05:30
family48.png\
good.png\
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\
splash.jpg\
tools.png
2002-10-20 19:55:16 +05:30
# Other stuff that we need to install
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.
# Build po/template.po.
.PHONY: trans
trans:
2002-10-20 19:55:16 +05:30
./build_po
pycheck:
for d in $(SUBDIRS) ; do \
(cd $$d; make pycheck); \
done;
pychecker $(gdir_PYTHON)
2002-10-20 19:55:16 +05:30
docs:
epydoc -o doc --url http://gramps.sourceforge.net --name GRAMPS --html $(docfiles)
epydoc --pdf $(docfiles)
2005-12-06 12:08:09 +05:30
cmdplug:
./build_cmdplug