Fix $PATH and add $PYTHONPATH used to run regen.
This commit is contained in:
parent
7629bbc73c
commit
f71bd68673
|
@ -261,7 +261,8 @@ libinstall: python $(srcdir)/Lib/$(MACHDEP)
|
||||||
$(srcdir)/Lib/$(MACHDEP):
|
$(srcdir)/Lib/$(MACHDEP):
|
||||||
mkdir $(srcdir)/Lib/$(MACHDEP)
|
mkdir $(srcdir)/Lib/$(MACHDEP)
|
||||||
cp $(srcdir)/Lib/generic/regen $(srcdir)/Lib/$(MACHDEP)/regen
|
cp $(srcdir)/Lib/generic/regen $(srcdir)/Lib/$(MACHDEP)/regen
|
||||||
export PATH; PATH="`pwd`:$PATH"; \
|
export PATH; PATH="`pwd`:$(PATH)"; \
|
||||||
|
export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
|
||||||
cd $(srcdir)/Lib/$(MACHDEP); ./regen
|
cd $(srcdir)/Lib/$(MACHDEP); ./regen
|
||||||
|
|
||||||
# Install the include files
|
# Install the include files
|
||||||
|
|
Loading…
Reference in New Issue