From 8948630cd3559926abeeda762946f622346b8dc2 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sat, 17 Jan 2009 03:07:31 +0000 Subject: [PATCH] Plugins Restructure: Move graph reports into plugins/graph. svn: r11639 --- src/plugins/Makefile.am | 3 --- src/plugins/{ => graph}/GVFamilyLines.py | 0 src/plugins/{ => graph}/GVHourGlass.py | 0 src/plugins/{ => graph}/GVRelGraph.py | 0 src/plugins/graph/Makefile.am | 23 +++++++++++++++++++++++ 5 files changed, 23 insertions(+), 3 deletions(-) rename src/plugins/{ => graph}/GVFamilyLines.py (100%) rename src/plugins/{ => graph}/GVHourGlass.py (100%) rename src/plugins/{ => graph}/GVRelGraph.py (100%) create mode 100644 src/plugins/graph/Makefile.am diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 9d19e36ad..eaa122621 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -32,9 +32,6 @@ pkgdata_PYTHON = \ ExportVCard.py\ ExportXml.py\ FamilyGroup.py\ - GVFamilyLines.py \ - GVHourGlass.py\ - GVRelGraph.py\ ImportCsv.py\ ImportGedcom.py\ ImportGeneWeb.py\ diff --git a/src/plugins/GVFamilyLines.py b/src/plugins/graph/GVFamilyLines.py similarity index 100% rename from src/plugins/GVFamilyLines.py rename to src/plugins/graph/GVFamilyLines.py diff --git a/src/plugins/GVHourGlass.py b/src/plugins/graph/GVHourGlass.py similarity index 100% rename from src/plugins/GVHourGlass.py rename to src/plugins/graph/GVHourGlass.py diff --git a/src/plugins/GVRelGraph.py b/src/plugins/graph/GVRelGraph.py similarity index 100% rename from src/plugins/GVRelGraph.py rename to src/plugins/graph/GVRelGraph.py diff --git a/src/plugins/graph/Makefile.am b/src/plugins/graph/Makefile.am new file mode 100644 index 000000000..104887472 --- /dev/null +++ b/src/plugins/graph/Makefile.am @@ -0,0 +1,23 @@ +# This is the src/plugins/graph 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/graph + +pkgdata_PYTHON = \ + GVFamilyLines.py \ + GVHourGlass.py \ + GVRelGraph.py + +pkgpyexecdir = @pkgpyexecdir@/plugins/graph +pkgpythondir = @pkgpythondir@/plugins/graph + +# Clean up all the byte-compiled files +MOSTLYCLEANFILES = *pyc *pyo + +GRAMPS_PY_MODPATH = "../../" + +pycheck: + (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ + pychecker $(pkgdata_PYTHON));