summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2014-04-16 23:13:29 (GMT)
committerThomas Wouters <thomas@python.org>2014-04-16 23:13:29 (GMT)
commit67d8dc1f58452063e417b2cb2cfadd2fa12103d5 (patch)
treeb7ea1462ba3ca4c2133ae5d1449279f5242009b7 /Makefile.pre.in
parent68290f48953340c5ec063cd12e3c37959122f081 (diff)
downloadcpython-67d8dc1f58452063e417b2cb2cfadd2fa12103d5.zip
cpython-67d8dc1f58452063e417b2cb2cfadd2fa12103d5.tar.gz
cpython-67d8dc1f58452063e417b2cb2cfadd2fa12103d5.tar.bz2
Fix Tools/scripts/generate_opcode_h.py from issue #17861 to work correctly
when building in a separate object tree. More people should build this way. This may still fail if the source is unwritable, I haven't tested that yet.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index fbec3b7..8866766 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -324,10 +324,10 @@ PGENOBJS= $(POBJS) $(PGOBJS)
##########################################################################
# opcode.h generation
-OPCODE_H_DIR= Include
-OPCODE_H_SCRIPT= Tools/scripts/generate_opcode_h.py
-OPCODE_H= $(srcdir)/$(OPCODE_H_DIR)/opcode.h
-OPCODE_H_GEN= @OPCODEHGEN@ $(OPCODE_H_SCRIPT) Lib/ $(OPCODE_H)
+OPCODE_H_DIR= $(srcdir)/Include
+OPCODE_H_SCRIPT= $(srcdir)/Tools/scripts/generate_opcode_h.py
+OPCODE_H= $(OPCODE_H_DIR)/opcode.h
+OPCODE_H_GEN= @OPCODEHGEN@ $(OPCODE_H_SCRIPT) $(srcdir)/Lib/opcode.py $(OPCODE_H)
#
##########################################################################
# AST