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

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