bug #5554: Automake problem

svn: r18851
This commit is contained in:
Josip Pisoj
2012-02-10 20:25:15 +00:00
parent 8872ab4ec2
commit 53c9c30890
58 changed files with 182 additions and 234 deletions

View File

@ -4,9 +4,7 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/DateHandler pkgpython_PYTHON = \
pkgdata_PYTHON = \
_Date_bg.py\ _Date_bg.py\
_Date_ca.py\ _Date_ca.py\
_Date_cs.py\ _Date_cs.py\
@ -34,7 +32,7 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/DateHandler pkgpyexecdir = @pkgpyexecdir@/DateHandler
pkgpythondir = @pkgpythondir@/DateHandler pkgpythondir = $(datadir)/@PACKAGE@/DateHandler
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -52,4 +50,4 @@ docs:
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -3,9 +3,9 @@
SUBDIRS = Rules SideBar SUBDIRS = Rules SideBar
pkgdatadir = $(datadir)/@PACKAGE@/Filters pkgpythondir = $(datadir)/@PACKAGE@/Filters
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_FilterComboBox.py \ _FilterComboBox.py \
_FilterList.py \ _FilterList.py \
_FilterMenu.py \ _FilterMenu.py \
@ -18,7 +18,6 @@ pkgdata_PYTHON = \
_SearchFilter.py _SearchFilter.py
pkgpyexecdir = @pkgpyexecdir@/Filters pkgpyexecdir = @pkgpyexecdir@/Filters
pkgpythondir = @pkgpythondir@/Filters
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -27,4 +26,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Citation level Makefile for Gramps # This is the src/Filters/Rules/Citation level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Citation pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Citation
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
_AllCitations.py \ _AllCitations.py \
_ChangedSince.py \ _ChangedSince.py \
@ -22,7 +22,6 @@ pkgdata_PYTHON = \
_RegExpIdOf.py _RegExpIdOf.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Citation pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Citation
pkgpythondir = @pkgpythondir@/Filters/Rules/Citation
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -31,4 +30,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Event level Makefile for Gramps # This is the src/Filters/Rules/Event level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Event pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Event
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_ChangedSince.py\ _ChangedSince.py\
_MatchesFilter.py\ _MatchesFilter.py\
_EventPrivate.py\ _EventPrivate.py\
@ -26,7 +26,7 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Event pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Event
pkgpythondir = @pkgpythondir@/Filters/Rules/Event
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -35,4 +35,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Family level Makefile for Gramps # This is the src/Filters/Rules/Family level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Family pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Family
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_AllFamilies.py\ _AllFamilies.py\
_ChangedSince.py\ _ChangedSince.py\
_FamilyPrivate.py\ _FamilyPrivate.py\
@ -41,7 +41,6 @@ pkgdata_PYTHON = \
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Family pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Family
pkgpythondir = @pkgpythondir@/Filters/Rules/Family
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -50,4 +49,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -3,9 +3,9 @@
SUBDIRS = Person Family Event Place Source MediaObject Repository Note Citation SUBDIRS = Person Family Event Place Source MediaObject Repository Note Citation
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_ChangedSinceBase.py\ _ChangedSinceBase.py\
_Everything.py\ _Everything.py\
_HasEventBase.py\ _HasEventBase.py\
@ -35,7 +35,6 @@ pkgdata_PYTHON = \
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules pkgpyexecdir = @pkgpyexecdir@/Filters/Rules
pkgpythondir = @pkgpythondir@/Filters/Rules
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -44,4 +43,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/MediaObject level Makefile for Gramps # This is the src/Filters/Rules/MediaObject level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/MediaObject pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/MediaObject
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_AllMedia.py\ _AllMedia.py\
_ChangedSince.py\ _ChangedSince.py\
_HasIdOf.py\ _HasIdOf.py\
@ -19,7 +19,7 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/MediaObject pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/MediaObject
pkgpythondir = @pkgpythondir@/Filters/Rules/MediaObject
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -28,4 +28,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Note level Makefile for Gramps # This is the src/Filters/Rules/Note level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Note pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Note
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_AllNotes.py\ _AllNotes.py\
_ChangedSince.py\ _ChangedSince.py\
_HasIdOf.py\ _HasIdOf.py\
@ -18,7 +18,6 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Note pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Note
pkgpythondir = @pkgpythondir@/Filters/Rules/Note
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -27,4 +26,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Person level Makefile for Gramps # This is the src/Filters/Rules/Person level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Person pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Person
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_ChangedSince.py\ _ChangedSince.py\
_Disconnected.py \ _Disconnected.py \
_DeepRelationshipPathBetween.py \ _DeepRelationshipPathBetween.py \
@ -84,7 +84,6 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Person pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Person
pkgpythondir = @pkgpythondir@/Filters/Rules/Person
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -93,4 +92,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Place level Makefile for Gramps # This is the src/Filters/Rules/Place level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Place pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Place
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_AllPlaces.py\ _AllPlaces.py\
_ChangedSince.py\ _ChangedSince.py\
_HasIdOf.py\ _HasIdOf.py\
@ -22,7 +22,6 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Place pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Place
pkgpythondir = @pkgpythondir@/Filters/Rules/Place
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -31,4 +30,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Media level Makefile for Gramps # This is the src/Filters/Rules/Media level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Repository pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Repository
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_AllRepos.py\ _AllRepos.py\
_ChangedSince.py\ _ChangedSince.py\
_HasIdOf.py\ _HasIdOf.py\
@ -18,7 +18,6 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Repository pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Repository
pkgpythondir = @pkgpythondir@/Filters/Rules/Repository
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -27,4 +26,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/Rules/Source level Makefile for Gramps # This is the src/Filters/Rules/Source level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/Rules/Source pkgpythondir = $(datadir)/@PACKAGE@/Filters/Rules/Source
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_ChangedSince.py\ _ChangedSince.py\
_MatchesFilter.py\ _MatchesFilter.py\
_SourcePrivate.py\ _SourcePrivate.py\
@ -22,7 +22,6 @@ pkgdata_PYTHON = \
_MatchesRepositoryFilter.py _MatchesRepositoryFilter.py
pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Source pkgpyexecdir = @pkgpyexecdir@/Filters/Rules/Source
pkgpythondir = @pkgpythondir@/Filters/Rules/Source
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -31,4 +30,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/Filters/SideBar level Makefile for Gramps # This is the src/Filters/SideBar level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Filters/SideBar pkgpythondir = $(datadir)/@PACKAGE@/Filters/SideBar
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_EventSidebarFilter.py \ _EventSidebarFilter.py \
_FamilySidebarFilter.py \ _FamilySidebarFilter.py \
__init__.py \ __init__.py \
@ -17,7 +17,6 @@ pkgdata_PYTHON = \
_NoteSidebarFilter.py _NoteSidebarFilter.py
pkgpyexecdir = @pkgpyexecdir@/Filters/SideBar pkgpyexecdir = @pkgpyexecdir@/Filters/SideBar
pkgpythondir = @pkgpythondir@/Filters/SideBar
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -26,4 +25,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,16 +4,14 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/GrampsLocale pkgpythondir = $(datadir)/@PACKAGE@/GrampsLocale
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_GrampsLocale.py\ _GrampsLocale.py\
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/GrampsLocale pkgpyexecdir = @pkgpyexecdir@/GrampsLocale
pkgpythondir = @pkgpythondir@/GrampsLocale
dist_pkgdata_DATA = dist_pkgdata_DATA =
@ -24,4 +22,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,7 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/GrampsLogger pkgpython_PYTHON = \
pkgdata_PYTHON = \
_ErrorReportAssistant.py\ _ErrorReportAssistant.py\
_ErrorView.py\ _ErrorView.py\
_GtkHandler.py\ _GtkHandler.py\
@ -14,7 +12,7 @@ pkgdata_PYTHON = \
_RotateHandler.py _RotateHandler.py
pkgpyexecdir = @pkgpyexecdir@/GrampsLogger pkgpyexecdir = @pkgpyexecdir@/GrampsLogger
pkgpythondir = @pkgpythondir@/GrampsLogger pkgpythondir = $(datadir)/@PACKAGE@/GrampsLogger
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -23,4 +21,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/Merge pkgpythondir = $(datadir)/@PACKAGE@/Merge
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
mergeperson.py \ mergeperson.py \
mergefamily.py \ mergefamily.py \
@ -19,7 +19,6 @@ pkgdata_PYTHON = \
mergenote.py mergenote.py
pkgpyexecdir = @pkgpyexecdir@/Merge pkgpyexecdir = @pkgpyexecdir@/Merge
pkgpythondir = @pkgpythondir@/Merge
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -28,4 +27,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,16 +1,15 @@
# This is the src/Report level Makefile for Gramps # This is the src/Report level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/Simple pkgpythondir = $(datadir)/@PACKAGE@/Simple
pkgdata_PYTHON = \ pkgpython_PYTHON = \
_SimpleDoc.py\ _SimpleDoc.py\
_SimpleAccess.py\ _SimpleAccess.py\
_SimpleTable.py\ _SimpleTable.py\
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/Simple pkgpyexecdir = @pkgpyexecdir@/Simple
pkgpythondir = @pkgpythondir@/Simple
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -19,4 +18,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -7,9 +7,9 @@
SUBDIRS = \ SUBDIRS = \
plug plug
pkgdatadir = $(datadir)/@PACKAGE@/cli pkgpythondir = $(datadir)/@PACKAGE@/cli
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
arghandler.py \ arghandler.py \
argparser.py \ argparser.py \
@ -18,7 +18,7 @@ pkgdata_PYTHON = \
user.py user.py
pkgpyexecdir = @pkgpyexecdir@/cli pkgpyexecdir = @pkgpyexecdir@/cli
pkgpythondir = @pkgpythondir@/cli
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -27,7 +27,7 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));
pylint: pylint:
PYTHONPATH=$(GRAMPS_PY_MODPATH) pylint $(pkgdata_PYTHON) > pylint.out PYTHONPATH=$(GRAMPS_PY_MODPATH) pylint $(pkgpython_PYTHON) > pylint.out

View File

@ -4,13 +4,13 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/cli/plug pkgpythondir = $(datadir)/@PACKAGE@/cli/plug
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/cli/plug pkgpyexecdir = @pkgpyexecdir@/cli/plug
pkgpythondir = @pkgpythondir@/cli/plug
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
@ -20,4 +20,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -13,17 +13,15 @@ SUBDIRS = \
proxy \ proxy \
utils utils
pkgdatadir = $(datadir)/@PACKAGE@/gen pkgpythondir = $(datadir)/@PACKAGE@/gen
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
ggettext.py \ ggettext.py \
updatecallback.py \ updatecallback.py \
user.py user.py
pkgpyexecdir = @pkgpyexecdir@/gen pkgpyexecdir = @pkgpyexecdir@/gen
pkgpythondir = @pkgpythondir@/gen
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -32,4 +30,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/db pkgpythondir = $(datadir)/@PACKAGE@/gen/db
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
backup.py \ backup.py \
base.py \ base.py \
@ -21,7 +21,6 @@ pkgdata_PYTHON = \
write.py write.py
pkgpyexecdir = @pkgpyexecdir@/gen/db pkgpyexecdir = @pkgpyexecdir@/gen/db
pkgpythondir = @pkgpythondir@/gen/db
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
@ -31,4 +30,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,15 +4,13 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/display pkgpythondir = $(datadir)/@PACKAGE@/gen/display
pkgdata_PYTHON = \ pkgpython_PYTHON = \
name.py\ name.py\
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/gen/display pkgpyexecdir = @pkgpyexecdir@/gen/display
pkgpythondir = @pkgpythondir@/gen/display
dist_pkgdata_DATA = dist_pkgdata_DATA =
@ -23,4 +21,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/lib pkgpythondir = $(datadir)/@PACKAGE@/gen/lib
pkgdata_PYTHON = \ pkgpython_PYTHON = \
addressbase.py \ addressbase.py \
address.py \ address.py \
attrbase.py \ attrbase.py \
@ -74,7 +74,6 @@ pkgdata_PYTHON = \
witness.py witness.py
pkgpyexecdir = @pkgpyexecdir@/gen/lib pkgpyexecdir = @pkgpyexecdir@/gen/lib
pkgpythondir = @pkgpythondir@/gen/lib
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -83,7 +82,7 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));
pylint: pylint:
pylint --disable-msg=W0403,C0103 $(pkgdata_PYTHON) pylint --disable-msg=W0403,C0103 $(pkgpython_PYTHON)

View File

@ -4,16 +4,15 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/mime pkgpythondir = $(datadir)/@PACKAGE@/gen/mime
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py\ __init__.py\
_gnomemime.py\ _gnomemime.py\
_winmime.py\ _winmime.py\
_pythonmime.py _pythonmime.py
pkgpyexecdir = @pkgpyexecdir@/gen/mime pkgpyexecdir = @pkgpyexecdir@/gen/mime
pkgpythondir = @pkgpythondir@/gen/mime
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -22,4 +21,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -10,9 +10,9 @@ SUBDIRS = \
menu\ menu\
report report
pkgdatadir = $(datadir)/@PACKAGE@/gen/plug pkgpythondir = $(datadir)/@PACKAGE@/gen/plug
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
_docgenplugin.py \ _docgenplugin.py \
_export.py \ _export.py \
@ -25,8 +25,6 @@ pkgdata_PYTHON = \
utils.py utils.py
pkgpyexecdir = @pkgpyexecdir@/gen/plug pkgpyexecdir = @pkgpyexecdir@/gen/plug
pkgpythondir = @pkgpythondir@/gen/plug
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -35,4 +33,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,16 +4,14 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/plug/docbackend pkgpythondir = $(datadir)/@PACKAGE@/gen/plug/docbackend
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
cairobackend.py \ cairobackend.py \
docbackend.py docbackend.py
pkgpyexecdir = @pkgpyexecdir@/gen/plug/docbackend pkgpyexecdir = @pkgpyexecdir@/gen/plug/docbackend
pkgpythondir = @pkgpythondir@/gen/plug/docbackend
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -22,4 +20,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,7 +6,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/gen/plug/docgen pkgdatadir = $(datadir)/@PACKAGE@/gen/plug/docgen
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
basedoc.py \ basedoc.py \
drawdoc.py \ drawdoc.py \
@ -21,7 +21,7 @@ pkgdata_PYTHON = \
textdoc.py textdoc.py
pkgpyexecdir = @pkgpyexecdir@/gen/plug/docgen pkgpyexecdir = @pkgpyexecdir@/gen/plug/docgen
pkgpythondir = @pkgpythondir@/gen/plug/docgen pkgpythondir = $(datadir)/@PACKAGE@/gen/plug/docgen
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
@ -31,4 +31,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/plug/menu pkgpythondir = $(datadir)/@PACKAGE@/gen/plug/menu
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
_boolean.py \ _boolean.py \
_booleanlist.py \ _booleanlist.py \
@ -29,8 +29,6 @@ pkgdata_PYTHON = \
_text.py _text.py
pkgpyexecdir = @pkgpyexecdir@/gen/plug/menu pkgpyexecdir = @pkgpyexecdir@/gen/plug/menu
pkgpythondir = @pkgpythondir@/gen/plug/menu
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -39,4 +37,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -3,7 +3,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/gen/plug/report pkgdatadir = $(datadir)/@PACKAGE@/gen/plug/report
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py\ __init__.py\
_bibliography.py\ _bibliography.py\
_constants.py\ _constants.py\
@ -14,7 +14,7 @@ pkgdata_PYTHON = \
utils.py utils.py
pkgpyexecdir = @pkgpyexecdir@/gen/plug/report pkgpyexecdir = @pkgpyexecdir@/gen/plug/report
pkgpythondir = @pkgpythondir@/gen/plug/report pkgpythondir = $(datadir)/@PACKAGE@/gen/plug/report
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -23,4 +23,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/proxy pkgpythondir = $(datadir)/@PACKAGE@/gen/proxy
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
filter.py \ filter.py \
living.py \ living.py \
@ -15,8 +15,6 @@ pkgdata_PYTHON = \
proxybase.py proxybase.py
pkgpyexecdir = @pkgpyexecdir@/gen/proxy pkgpyexecdir = @pkgpyexecdir@/gen/proxy
pkgpythondir = @pkgpythondir@/gen/proxy
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -25,4 +23,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gen/utils pkgpythondir = $(datadir)/@PACKAGE@/gen/utils
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
callback.py \ callback.py \
callman.py \ callman.py \
@ -14,8 +14,6 @@ pkgdata_PYTHON = \
fallback.py fallback.py
pkgpyexecdir = @pkgpyexecdir@/gen/utils pkgpyexecdir = @pkgpyexecdir@/gen/utils
pkgpythondir = @pkgpythondir@/gen/utils
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -24,4 +22,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -11,9 +11,9 @@ SUBDIRS = \
views \ views \
widgets widgets
pkgdatadir = $(datadir)/@PACKAGE@/gui pkgpythondir = $(datadir)/@PACKAGE@/gui
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
aboutdialog.py \ aboutdialog.py \
basesidebar.py \ basesidebar.py \
@ -33,8 +33,6 @@ pkgdata_PYTHON = \
viewmanager.py viewmanager.py
pkgpyexecdir = @pkgpyexecdir@/gui pkgpyexecdir = @pkgpyexecdir@/gui
pkgpythondir = @pkgpythondir@/gui
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -43,4 +41,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -7,9 +7,9 @@
SUBDIRS = \ SUBDIRS = \
displaytabs displaytabs
pkgdatadir = $(datadir)/@PACKAGE@/gui/editors pkgpythondir = $(datadir)/@PACKAGE@/gui/editors
pkgdata_PYTHON = \ pkgpython_PYTHON = \
addmedia.py\ addmedia.py\
__init__.py\ __init__.py\
editaddress.py \ editaddress.py \
@ -39,7 +39,6 @@ pkgdata_PYTHON = \
objectentries.py objectentries.py
pkgpyexecdir = @pkgpyexecdir@/gui/editors pkgpyexecdir = @pkgpyexecdir@/gui/editors
pkgpythondir = @pkgpythondir@/gui/editors
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -48,4 +47,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/gui/editors/displaytabs level Makefile for Gramps # This is the src/gui/editors/displaytabs level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/gui/editors/displaytabs pkgpythondir = $(datadir)/@PACKAGE@/gui/editors/displaytabs
pkgdata_PYTHON = \ pkgpython_PYTHON = \
addrembedlist.py \ addrembedlist.py \
addressmodel.py \ addressmodel.py \
attrembedlist.py \ attrembedlist.py \
@ -51,7 +51,6 @@ pkgdata_PYTHON = \
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/gui/editors/displaytabs pkgpyexecdir = @pkgpyexecdir@/gui/editors/displaytabs
pkgpythondir = @pkgpythondir@/gui/editors/displaytabs
# clean up all the byte-compiled files # clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -60,4 +59,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,9 +6,9 @@
SUBDIRS = report SUBDIRS = report
pkgdatadir = $(datadir)/@PACKAGE@/gui/plug pkgpythondir = $(datadir)/@PACKAGE@/gui/plug
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py\ __init__.py\
_guioptions.py\ _guioptions.py\
_windows.py\ _windows.py\
@ -16,7 +16,6 @@ pkgdata_PYTHON = \
tool.py tool.py
pkgpyexecdir = @pkgpyexecdir@/gui/plug pkgpyexecdir = @pkgpyexecdir@/gui/plug
pkgpythondir = @pkgpythondir@/gui/plug
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -25,4 +24,4 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,9 +1,9 @@
# This is the src/gui/plug/report level Makefile for Gramps # This is the src/gui/plug/report level Makefile for Gramps
# $Id$ # $Id$
pkgdatadir = $(datadir)/@PACKAGE@/gui/plug/report pkgpythondir = $(datadir)/@PACKAGE@/gui/plug/report
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py\ __init__.py\
_docreportdialog.py\ _docreportdialog.py\
_drawreportdialog.py\ _drawreportdialog.py\
@ -17,7 +17,6 @@ pkgdata_PYTHON = \
_webreportdialog.py _webreportdialog.py
pkgpyexecdir = @pkgpyexecdir@/gui/plug/report pkgpyexecdir = @pkgpyexecdir@/gui/plug/report
pkgpythondir = @pkgpythondir@/gui/plug/report
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -26,4 +25,4 @@ GRAMPS_PY_MODPATH = "../../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gui/selectors pkgpythondir = $(datadir)/@PACKAGE@/gui/selectors
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
baseselector.py \ baseselector.py \
selectcitation.py \ selectcitation.py \
@ -22,7 +22,6 @@ pkgdata_PYTHON = \
selectorfactory.py selectorfactory.py
pkgpyexecdir = @pkgpyexecdir@/gui/selectors pkgpyexecdir = @pkgpyexecdir@/gui/selectors
pkgpythondir = @pkgpythondir@/gui/selectors
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -31,4 +30,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -7,9 +7,9 @@
SUBDIRS = \ SUBDIRS = \
treemodels treemodels
pkgdatadir = $(datadir)/@PACKAGE@/gui/views pkgpythondir = $(datadir)/@PACKAGE@/gui/views
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
listview.py \ listview.py \
navigationview.py \ navigationview.py \
@ -17,7 +17,6 @@ pkgdata_PYTHON = \
tags.py tags.py
pkgpyexecdir = @pkgpyexecdir@/gui/views pkgpyexecdir = @pkgpyexecdir@/gui/views
pkgpythondir = @pkgpythondir@/gui/views
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -26,7 +25,7 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));
pylint: pylint:
PYTHONPATH=$(GRAMPS_PY_MODPATH) pylint $(pkgdata_PYTHON) > pylint.out PYTHONPATH=$(GRAMPS_PY_MODPATH) pylint $(pkgpython_PYTHON) > pylint.out

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gui/views/treemodels pkgpythondir = $(datadir)/@PACKAGE@/gui/views/treemodels
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
eventmodel.py \ eventmodel.py \
familymodel.py \ familymodel.py \
@ -23,7 +23,6 @@ pkgdata_PYTHON = \
treebasemodel.py treebasemodel.py
pkgpyexecdir = @pkgpyexecdir@/gui/views/treemodels pkgpyexecdir = @pkgpyexecdir@/gui/views/treemodels
pkgpythondir = @pkgpythondir@/gui/views/treemodels
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -32,7 +31,7 @@ GRAMPS_PY_MODPATH = "../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));
pylint: pylint:
PYTHONPATH=$(GRAMPS_PY_MODPATH) pylint $(pkgdata_PYTHON) > pylint.out PYTHONPATH=$(GRAMPS_PY_MODPATH) pylint $(pkgpython_PYTHON) > pylint.out

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/gui/widgets pkgpythondir = $(datadir)/@PACKAGE@/gui/widgets
pkgdata_PYTHON = \ pkgpython_PYTHON = \
__init__.py \ __init__.py \
basicentry.py \ basicentry.py \
buttons.py \ buttons.py \
@ -35,7 +35,6 @@ pkgdata_PYTHON = \
valuetoolitem.py valuetoolitem.py
pkgpyexecdir = @pkgpyexecdir@/gui/widgets pkgpyexecdir = @pkgpyexecdir@/gui/widgets
pkgpythondir = @pkgpythondir@/gui/widgets
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -44,5 +43,5 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -24,14 +24,14 @@ SUBDIRS = \
pkgdatadir = $(datadir)/@PACKAGE@/plugins pkgdatadir = $(datadir)/@PACKAGE@/plugins
pkgdata_PYTHON = \ pkgpython_PYTHON = \
bookreport.gpr.py\ bookreport.gpr.py\
BookReport.py\ BookReport.py\
records.gpr.py\ records.gpr.py\
Records.py Records.py
pkgpyexecdir = @pkgpyexecdir@/plugins pkgpyexecdir = @pkgpyexecdir@/plugins
pkgpythondir = @pkgpythondir@/plugins pkgpythondir = $(datadir)/@PACKAGE@/plugins
GLADEFILES = \ GLADEFILES = \
bookreport.glade bookreport.glade
@ -49,4 +49,4 @@ GRAMPS_PY_MODPATH = "../:../docgen"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,7 +6,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/docgen pkgdatadir = $(datadir)/@PACKAGE@/plugins/docgen
pkgdata_PYTHON = \ pkgpython_PYTHON = \
AsciiDoc.py \ AsciiDoc.py \
docgen.gpr.py\ docgen.gpr.py\
GtkPrint.py \ GtkPrint.py \
@ -19,7 +19,7 @@ pkgdata_PYTHON = \
SvgDrawDoc.py SvgDrawDoc.py
pkgpyexecdir = @pkgpyexecdir@/plugins/docgen pkgpyexecdir = @pkgpyexecdir@/plugins/docgen
pkgpythondir = @pkgpythondir@/plugins/docgen pkgpythondir = $(datadir)/@PACKAGE@/plugins/docgen
GLADEFILES = \ GLADEFILES = \
gtkprint.glade gtkprint.glade
@ -37,4 +37,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/drawreport pkgpythondir = $(datadir)/@PACKAGE@/plugins/drawreport
pkgdata_PYTHON = \ pkgpython_PYTHON = \
AncestorTree.py \ AncestorTree.py \
Calendar.py\ Calendar.py\
DescendTree.py \ DescendTree.py \
@ -16,7 +16,6 @@ pkgdata_PYTHON = \
TimeLine.py TimeLine.py
pkgpyexecdir = @pkgpyexecdir@/plugins/drawreport pkgpyexecdir = @pkgpyexecdir@/plugins/drawreport
pkgpythondir = @pkgpythondir@/plugins/drawreport
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -25,4 +24,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,7 +6,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/export pkgdatadir = $(datadir)/@PACKAGE@/plugins/export
pkgdata_PYTHON = \ pkgpython_PYTHON = \
export.gpr.py \ export.gpr.py \
ExportCsv.py \ ExportCsv.py \
ExportFtree.py \ ExportFtree.py \
@ -18,7 +18,7 @@ pkgdata_PYTHON = \
ExportXml.py ExportXml.py
pkgpyexecdir = @pkgpyexecdir@/plugins/export pkgpyexecdir = @pkgpyexecdir@/plugins/export
pkgpythondir = @pkgpythondir@/plugins/export pkgpythondir = $(datadir)/@PACKAGE@/plugins/export
GLADEFILES = \ GLADEFILES = \
exportcsv.glade \ exportcsv.glade \
@ -41,4 +41,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/gramplet pkgpythondir = $(datadir)/@PACKAGE@/plugins/gramplet
pkgdata_PYTHON = \ pkgpython_PYTHON = \
AgeOnDateGramplet.py \ AgeOnDateGramplet.py \
AgeStats.py \ AgeStats.py \
Attributes.py \ Attributes.py \
@ -45,7 +45,6 @@ pkgdata_PYTHON = \
WhatsNext.py WhatsNext.py
pkgpyexecdir = @pkgpyexecdir@/plugins/gramplet pkgpyexecdir = @pkgpyexecdir@/plugins/gramplet
pkgpythondir = @pkgpythondir@/plugins/gramplet
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -54,4 +53,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,16 +4,15 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/graph pkgpythondir = $(datadir)/@PACKAGE@/plugins/graph
pkgdata_PYTHON = \ pkgpython_PYTHON = \
graphplugins.gpr.py\ graphplugins.gpr.py\
GVFamilyLines.py \ GVFamilyLines.py \
GVHourGlass.py \ GVHourGlass.py \
GVRelGraph.py GVRelGraph.py
pkgpyexecdir = @pkgpyexecdir@/plugins/graph pkgpyexecdir = @pkgpyexecdir@/plugins/graph
pkgpythondir = @pkgpythondir@/plugins/graph
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -22,4 +21,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,7 +6,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/import pkgdatadir = $(datadir)/@PACKAGE@/plugins/import
pkgdata_PYTHON = \ pkgpython_PYTHON = \
import.gpr.py \ import.gpr.py \
ImportCsv.py \ ImportCsv.py \
ImportGedcom.py \ ImportGedcom.py \
@ -18,7 +18,7 @@ pkgdata_PYTHON = \
ImportXml.py ImportXml.py
pkgpyexecdir = @pkgpyexecdir@/plugins/import pkgpyexecdir = @pkgpyexecdir@/plugins/import
pkgpythondir = @pkgpythondir@/plugins/import pkgpythondir = $(datadir)/@PACKAGE@/plugins/import
GLADEFILES = \ GLADEFILES = \
importgedcom.glade importgedcom.glade
@ -36,4 +36,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -15,7 +15,7 @@ pkgdatadir = $(datadir)/@PACKAGE@/plugins/lib
SUBDIRS = maps SUBDIRS = maps
pkgdata_PYTHON = \ pkgpython_PYTHON = \
libcairodoc.py\ libcairodoc.py\
libformatting.py\ libformatting.py\
libgedcom.py\ libgedcom.py\
@ -38,7 +38,7 @@ pkgdata_PYTHON = \
libtreebase.py libtreebase.py
pkgpyexecdir = @pkgpyexecdir@/plugins/lib pkgpyexecdir = @pkgpyexecdir@/plugins/lib
pkgpythondir = @pkgpythondir@/plugins/lib pkgpythondir = $(datadir)/@PACKAGE@/plugins/lib
GLADEFILES = GLADEFILES =
@ -59,4 +59,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -1,14 +1,14 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/lib/maps pkgdatadir = $(datadir)/@PACKAGE@/plugins/lib/maps
# $Id$ # $Id$
pkgdata_PYTHON = \ pkgpython_PYTHON = \
constants.py\ constants.py\
geography.py\ geography.py\
grampsmaps.py\ grampsmaps.py\
__init__.py __init__.py
pkgpyexecdir = @pkgpyexecdir@/plugins/lib/maps pkgpyexecdir = @pkgpyexecdir@/plugins/lib/maps
pkgpythondir = @pkgpythondir@/plugins/lib/maps pkgpythondir = $(datadir)/@PACKAGE@/plugins/lib/maps
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -17,4 +17,4 @@ GRAMPS_PY_MODPATH = "../../:../view"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,14 +6,14 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/mapservices pkgdatadir = $(datadir)/@PACKAGE@/plugins/mapservices
pkgdata_PYTHON = \ pkgpython_PYTHON = \
googlemap.py\ googlemap.py\
mapservice.gpr.py\ mapservice.gpr.py\
openstreetmap.py\ openstreetmap.py\
eniroswedenmap.py eniroswedenmap.py
pkgpyexecdir = @pkgpyexecdir@/plugins/mapservices pkgpyexecdir = @pkgpyexecdir@/plugins/mapservices
pkgpythondir = @pkgpythondir@/plugins/mapservices pkgpythondir = $(datadir)/@PACKAGE@/plugins/mapservices
GLADEFILES = GLADEFILES =
@ -30,4 +30,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,7 +6,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/quickview pkgdatadir = $(datadir)/@PACKAGE@/plugins/quickview
pkgdata_PYTHON = \ pkgpython_PYTHON = \
AgeOnDate.py \ AgeOnDate.py \
all_events.py \ all_events.py \
all_relations.py \ all_relations.py \
@ -22,7 +22,7 @@ pkgdata_PYTHON = \
siblings.py siblings.py
pkgpyexecdir = @pkgpyexecdir@/plugins/quickview pkgpyexecdir = @pkgpyexecdir@/plugins/quickview
pkgpythondir = @pkgpythondir@/plugins/quickview pkgpythondir = $(datadir)/@PACKAGE@/plugins/quickview
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -31,4 +31,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,7 +6,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/rel pkgdatadir = $(datadir)/@PACKAGE@/plugins/rel
pkgdata_PYTHON = \ pkgpython_PYTHON = \
relplugins.gpr.py\ relplugins.gpr.py\
rel_ca.py\ rel_ca.py\
rel_cs.py\ rel_cs.py\
@ -28,7 +28,7 @@ pkgdata_PYTHON = \
rel_sv.py rel_sv.py
pkgpyexecdir = @pkgpyexecdir@/plugins/rel pkgpyexecdir = @pkgpyexecdir@/plugins/rel
pkgpythondir = @pkgpythondir@/plugins/rel pkgpythondir = $(datadir)/@PACKAGE@/plugins/rel
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -37,4 +37,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,14 +4,13 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/sidebar pkgpythondir = $(datadir)/@PACKAGE@/plugins/sidebar
pkgdata_PYTHON = \ pkgpython_PYTHON = \
categorysidebar.py\ categorysidebar.py\
sidebar.gpr.py sidebar.gpr.py
pkgpyexecdir = @pkgpyexecdir@/plugins/sidebar pkgpyexecdir = @pkgpyexecdir@/plugins/sidebar
pkgpythondir = @pkgpythondir@/plugins/sidebar
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -20,4 +19,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/textreport pkgpythondir = $(datadir)/@PACKAGE@/plugins/textreport
pkgdata_PYTHON = \ pkgpython_PYTHON = \
AncestorReport.py\ AncestorReport.py\
BirthdayReport.py\ BirthdayReport.py\
CustomBookText.py\ CustomBookText.py\
@ -25,7 +25,6 @@ pkgdata_PYTHON = \
textplugins.gpr.py textplugins.gpr.py
pkgpyexecdir = @pkgpyexecdir@/plugins/textreport pkgpyexecdir = @pkgpyexecdir@/plugins/textreport
pkgpythondir = @pkgpythondir@/plugins/textreport
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -34,4 +33,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -6,7 +6,7 @@
pkgdatadir = $(datadir)/@PACKAGE@/plugins/tool pkgdatadir = $(datadir)/@PACKAGE@/plugins/tool
pkgdata_PYTHON = \ pkgpython_PYTHON = \
ChangeNames.py \ ChangeNames.py \
ChangeTypes.py \ ChangeTypes.py \
Check.py \ Check.py \
@ -36,7 +36,7 @@ pkgdata_PYTHON = \
# TestcaseGenerator.py # TestcaseGenerator.py
pkgpyexecdir = @pkgpyexecdir@/plugins/tool pkgpyexecdir = @pkgpyexecdir@/plugins/tool
pkgpythondir = @pkgpythondir@/plugins/tool pkgpythondir = $(datadir)/@PACKAGE@/plugins/tool
GLADEFILES = \ GLADEFILES = \
changenames.glade \ changenames.glade \
@ -66,4 +66,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,9 +4,9 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/view pkgpythondir = $(datadir)/@PACKAGE@/plugins/view
pkgdata_PYTHON = \ pkgpython_PYTHON = \
citationlistview.py \ citationlistview.py \
citationtreeview.py \ citationtreeview.py \
eventview.py \ eventview.py \
@ -35,7 +35,6 @@ pkgdata_PYTHON = \
view.gpr.py view.gpr.py
pkgpyexecdir = @pkgpyexecdir@/plugins/view pkgpyexecdir = @pkgpyexecdir@/plugins/view
pkgpythondir = @pkgpythondir@/plugins/view
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -44,4 +43,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -4,15 +4,14 @@
# but that is not necessarily portable. # but that is not necessarily portable.
# If not using GNU make, then list all .py files individually # If not using GNU make, then list all .py files individually
pkgdatadir = $(datadir)/@PACKAGE@/plugins/webreport pkgpythondir = $(datadir)/@PACKAGE@/plugins/webreport
pkgdata_PYTHON = \ pkgpython_PYTHON = \
NarrativeWeb.py\ NarrativeWeb.py\
WebCal.py\ WebCal.py\
webplugins.gpr.py webplugins.gpr.py
pkgpyexecdir = @pkgpyexecdir@/plugins/webreport pkgpyexecdir = @pkgpyexecdir@/plugins/webreport
pkgpythondir = @pkgpythondir@/plugins/webreport
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -21,4 +20,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));

View File

@ -9,12 +9,12 @@ SUBDIRS = css images js
pkgdatadir = $(datadir)/@PACKAGE@/plugins/webstuff pkgdatadir = $(datadir)/@PACKAGE@/plugins/webstuff
pkgdata_PYTHON = \ pkgpython_PYTHON = \
webstuff.py \ webstuff.py \
webstuff.gpr.py webstuff.gpr.py
pkgpyexecdir = @pkgpyexecdir@/plugins/webstuff pkgpyexecdir = @pkgpyexecdir@/plugins/webstuff
pkgpythondir = @pkgpythondir@/plugins/webstuff pkgpythondir = $(datadir)/@PACKAGE@/plugins/webstuff
# Clean up all the byte-compiled files # Clean up all the byte-compiled files
MOSTLYCLEANFILES = *pyc *pyo MOSTLYCLEANFILES = *pyc *pyo
@ -23,4 +23,4 @@ GRAMPS_PY_MODPATH = "../../"
pycheck: pycheck:
(export PYTHONPATH=$(GRAMPS_PY_MODPATH); \ (export PYTHONPATH=$(GRAMPS_PY_MODPATH); \
pychecker $(pkgdata_PYTHON)); pychecker $(pkgpython_PYTHON));