Commit 740b4f34 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Use python_PYTHON instead. This will run py-compile at install time

to create the pyc and pyo optimized python files.

NOTE: run "autoreconf --install" to get the py-compile.

Later, I will handle this for the src/bin python scripts. (Ticket #78)


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1238 e5f2f494-b856-4b98-b285-d166d9295462
parent 547652de
SUBDIRS = auth cc Util config
PY_MODULES= __init__.py
python_PYTHON = __init__.py
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)/isc
@(for _foo_ in $(PY_MODULES) ; \
do $(INSTALL) -m 0644 $(top_srcdir)/src/lib/python/isc/$$_foo_ $(DESTDIR)$(pyexecdir)/isc/ ; done)
pythondir = $(pyexecdir)/isc
PY_MODULES= __init__.py hexdump.py
python_PYTHON = __init__.py hexdump.py
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)/isc/Util
@(for _foo_ in $(PY_MODULES) ; \
do $(INSTALL) -m 0644 $(top_srcdir)/src/lib/python/isc/Util/$$_foo_ $(DESTDIR)$(pyexecdir)/isc/Util/ ; done)
pythondir = $(pyexecdir)/isc/Util
PY_MODULES= __init__.py master.py sqlite3_ds.py
python_PYTHON = __init__.py master.py sqlite3_ds.py
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)/isc/auth
@(for _foo_ in $(PY_MODULES) ; \
do $(INSTALL) -m 0644 $(top_srcdir)/src/lib/python/isc/auth/$$_foo_ $(DESTDIR)$(pyexecdir)/isc/auth/; done)
pythondir = $(pyexecdir)/isc/auth
PY_MODULES= __init__.py data.py session.py message.py
python_PYTHON = __init__.py data.py session.py message.py
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)/isc/cc
@(for _foo_ in $(PY_MODULES) ; \
do $(INSTALL) -m 0644 $(top_srcdir)/src/lib/python/isc/cc/$$_foo_ $(DESTDIR)$(pyexecdir)/isc/cc/ ; done)
pythondir = $(pyexecdir)/isc/cc
PY_MODULES= __init__.py ccsession.py cfgmgr.py config_data.py module_spec.py
python_PYTHON = __init__.py ccsession.py cfgmgr.py config_data.py module_spec.py
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(pyexecdir)/isc/config
@(for _foo_ in $(PY_MODULES) ; \
do $(INSTALL) -m 0644 $(top_srcdir)/src/lib/python/isc/config/$$_foo_ $(DESTDIR)$(pyexecdir)/isc/config/; done)
pythondir = $(pyexecdir)/isc/config
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment