summaryrefslogtreecommitdiffstats
path: root/src/bin/cfgmgr
diff options
context:
space:
mode:
authorJeremy C. Reed <jreed@ISC.org>2011-10-12 16:10:04 +0200
committerJeremy C. Reed <jreed@ISC.org>2011-10-12 16:10:04 +0200
commitaadf8f9a5d8dfe13ae2196b61c406c8a8e1d05e7 (patch)
tree6b18289d115d5a846c6fdcd0bc51db67c9938f44 /src/bin/cfgmgr
parent[master] missing EXTRA_DIST for test data files. (diff)
downloadkea-aadf8f9a5d8dfe13ae2196b61c406c8a8e1d05e7.tar.xz
kea-aadf8f9a5d8dfe13ae2196b61c406c8a8e1d05e7.zip
[master] for #1274, Use python_PYTHON for the python scripts
Use python_PYTHON for the python scripts. This results in installing byte compiled version. Removed files from EXTRA_DIST as they are now in dist by default. Added CLEANFILES to clean up .pyc in build directory. Note that I am keeping the installation directory the same.
Diffstat (limited to 'src/bin/cfgmgr')
-rw-r--r--src/bin/cfgmgr/plugins/Makefile.am11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bin/cfgmgr/plugins/Makefile.am b/src/bin/cfgmgr/plugins/Makefile.am
index 529a4ed481..5a4cfef4c3 100644
--- a/src/bin/cfgmgr/plugins/Makefile.am
+++ b/src/bin/cfgmgr/plugins/Makefile.am
@@ -1,11 +1,14 @@
SUBDIRS = tests
-EXTRA_DIST = README tsig_keys.py tsig_keys.spec
-EXTRA_DIST += logging.spec b10logging.py
+
+EXTRA_DIST = README logging.spec tsig_keys.spec
config_plugindir = @prefix@/share/@PACKAGE@/config_plugins
-config_plugin_DATA = tsig_keys.py tsig_keys.spec
-config_plugin_DATA += b10logging.py logging.spec
+config_plugin_DATA = logging.spec tsig_keys.spec
+
+python_PYTHON = b10logging.py tsig_keys.py
+pythondir = $(config_plugindir)
+CLEANFILES = b10logging.pyc tsig_keys.pyc
CLEANDIRS = __pycache__
clean-local: