2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

4369. [bug] Fix 'make' and 'make install' out-of-tree python

support. [RT #42484]
This commit is contained in:
Mark Andrews
2016-05-24 09:50:23 +10:00
parent da06956f4b
commit d3600bb89d
4 changed files with 7 additions and 4 deletions

View File

@@ -33,8 +33,8 @@ TARGETS = parsetab.py
$(PYTHON) -m compileall .
parsetab.py: policy.py
$(PYTHON) policy.py parse /dev/null > /dev/null
$(PYTHON) -m parsetab
$(PYTHON) ${srcdir}/policy.py parse /dev/null > /dev/null
PYTHONPATH=${srcdir} $(PYTHON) -m parsetab
check test: subdirs

View File

@@ -26,7 +26,7 @@ PYTESTS = dnskey_test.py policy_test.py
check test:
for test in $(PYTESTS); do \
$(PYTHON) $$test; \
PYTHONPATH=${srcdir}/../.. $(PYTHON) ${srcdir}/$$test; \
done
clean distclean::