Move all tools into plugins/tool.

svn: r11633
This commit is contained in:
Brian Matherly 2009-01-16 19:54:58 +00:00
parent ec7ded54c6
commit 7b47dc61ad
47 changed files with 107 additions and 63 deletions

View File

@ -4,7 +4,8 @@
# If not using GNU make, then list all .py files individually
SUBDIRS = \
rel
rel \
tool
pkgdatadir = $(datadir)/@PACKAGE@/plugins
@ -18,25 +19,15 @@ pkgdata_PYTHON = \
AttributeMatch.py\
AttributesGramplet.py\
BookReport.py\
CalculateEstimatedDates.py\
Calendar.py \
ChangeTypes.py\
ChangeNames.py\
Check.py\
CmdRef.py\
CustomBookText.py\
DateParserDisplayTest.py\
DefaultGramplets.py\
Desbrowser.py\
DescendTree.py\
DescendReport.py\
DescendGramplet.py\
DetAncestralReport.py\
DetDescendantReport.py\
EndOfLineReport.py\
Eval.py\
EventCmp.py\
EventNames.py\
ExportCd.py\
ExportCsv.py\
ExportFtree.py\
@ -46,11 +37,9 @@ pkgdata_PYTHON = \
ExportVCalendar.py\
ExportVCard.py\
ExportXml.py\
ExtractCity.py\
FamilyGroup.py\
FanChart.py\
FilterByName.py\
FindDupes.py\
GivenNameGramplet.py\
GVFamilyLines.py \
GVHourGlass.py\
@ -65,83 +54,34 @@ pkgdata_PYTHON = \
ImportXml.py\
IndivComplete.py\
KinshipReport.py\
Leak.py\
lineage.py\
MarkerReport.py\
MediaManager.py\
NarrativeWeb.py\
NotRelated.py\
NumberOfAncestorsReport.py\
OnThisDay.py\
OwnerEditor.py\
PatchNames.py\
PlaceReport.py\
Rebuild.py\
RebuildRefMap.py\
Records.py\
References.py\
RelCalc.py\
rel_cs.py\
rel_da.py\
rel_de.py\
rel_es.py\
rel_fi.py\
rel_fr.py\
rel_hu.py\
rel_it.py\
rel_nl.py\
rel_no.py\
rel_pl.py\
rel_pt.py\
rel_ru.py\
rel_sk.py\
rel_sv.py\
RemoveUnused.py\
ReorderIds.py\
SameSurnames.py\
siblings.py\
SimpleBookTitle.py\
SortEvents.py\
SoundGen.py\
StatisticsChart.py\
Summary.py\
TimeLine.py\
Verify.py\
WebCal.py\
WhatsNext.py
# DateParserDisplayTest.py\
# DumpGenderStats.py\
# PHPGedViewConnector.py\
# TestcaseGenerator.py
pkgpyexecdir = @pkgpyexecdir@/plugins
pkgpythondir = @pkgpythondir@/plugins
GLADEFILES = \
book.glade\
changenames.glade\
changetype.glade\
desbrowse.glade\
eval.glade\
eventcmp.glade\
ExportCsv.glade\
ExportFtree.glade\
ExportGeneWeb.glade\
ExportVCalendar.glade\
ExportVCard.glade\
ImportGedcom.glade\
leak.glade\
merge.glade\
NotRelated.glade\
ownereditor.glade\
patchnames.glade\
relcalc.glade\
soundex.glade\
summary.glade\
unused.glade\
verify.glade
ImportGedcom.glade
GRAPHICS =

View File

@ -0,0 +1,36 @@
# This is the src/plugins/rel level Makefile for Gramps
# We could use GNU make's ':=' syntax for nice wildcard use,
# but that is not necessarily portable.
# If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/rel
pkgdata_PYTHON = \
rel_cs.py\
rel_da.py\
rel_de.py\
rel_es.py\
rel_fi.py\
rel_fr.py\
rel_hu.py\
rel_it.py\
rel_nl.py\
rel_no.py\
rel_pl.py\
rel_pt.py\
rel_ru.py\
rel_sk.py\
rel_sv.py
pkgpyexecdir = @pkgpyexecdir@/gen/proxy
pkgpythondir = @pkgpythondir@/gen/proxy
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
GRAMPS_PY_MODPATH = "../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));

View File

@ -0,0 +1,68 @@
# This is the src/plugins/rel level Makefile for Gramps
# We could use GNU make's ':=' syntax for nice wildcard use,
# but that is not necessarily portable.
# If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/rel
pkgdata_PYTHON = \
CalculateEstimatedDates.py \
ChangeNames.py \
ChangeTypes.py \
Check.py \
CmdRef.py \
DateParserDisplayTest.py \
Desbrowser.py \
Eval.py \
EventCmp.py \
EventNames.py \
ExtractCity.py \
FindDupes.py \
Leak.py \
MediaManager.py \
NotRelated.py \
OwnerEditor.py \
PatchNames.py \
Rebuild.py \
RebuildRefMap.py \
RelCalc.py \
RemoveUnused.py \
ReorderIds.py \
SortEvents.py \
SoundGen.py \
Verify.py
# DumpGenderStats.py \
# PHPGedViewConnector.py \
# TestcaseGenerator.py \
pkgpyexecdir = @pkgpyexecdir@/gen/proxy
pkgpythondir = @pkgpythondir@/gen/proxy
GLADEFILES = \
changenames.glade \
changetype.glade \
desbrowse.glade \
eval.glade \
eventcmp.glade \
leak.glade \
merge.glade \
NotRelated.glade \
ownereditor.glade \
patchnames.glade \
relcalc.glade \
soundex.glade \
summary.glade \
unused.glade \
verify.glade
dist_pkgdata_DATA = $(GLADEFILES)
# Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo
GRAMPS_PY_MODPATH = "../../"
pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON));