From: Jeremy C. Reed Date: Wed, 12 Oct 2011 14:10:04 +0000 (-0500) Subject: [master] for #1274, Use python_PYTHON for the python scripts X-Git-Tag: perftcpdns_before_epoll~66^2~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aadf8f9a5d8dfe13ae2196b61c406c8a8e1d05e7;p=thirdparty%2Fkea.git [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. --- 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: