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:
@@ -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
|
||||
|
||||
|
@@ -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::
|
||||
|
Reference in New Issue
Block a user