Makefile: $(PWD) doesn't always work, in particular the buildslaves don't

update environment variables like $(PWD) when the launch commands.
This commit is contained in:
Brian Warner 2007-02-01 03:39:13 -07:00
parent 56604200a7
commit 190e3ab46d
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ build-pyfec:
build-Crypto:
cd src/Crypto && $(PYTHON) ./setup.py install --prefix=$(BASE)/instdir
INSTDIR=$(PWD)/instdir/lib/python$(shell $(PYTHON) -c 'import sys;print sys.version_info[0]').$(shell $(PYTHON) -c 'import sys;print sys.version_info[1]')/site-packages
INSTDIR=$(BASE)/instdir/lib/python$(shell $(PYTHON) -c 'import sys;print sys.version_info[0]').$(shell $(PYTHON) -c 'import sys;print sys.version_info[1]')/site-packages
ifneq ($(PYTHONPATH),)
PP=PYTHONPATH=${PYTHONPATH}:$(INSTDIR)