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