summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-06 14:19:20 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-06 14:19:20 (GMT)
commit4f8fed28f020cd1a4d3471514fa40629e440e5e3 (patch)
tree32cd08847055330236013735c8c6b17568298bb5 /Makefile.pre.in
parent92b47a4d0fb976ca1b3637e36b2762caac4e62b4 (diff)
parenta94ad1e508153cee6d355a1ee03e32146fa0c41f (diff)
downloadcpython-4f8fed28f020cd1a4d3471514fa40629e440e5e3.zip
cpython-4f8fed28f020cd1a4d3471514fa40629e440e5e3.tar.gz
cpython-4f8fed28f020cd1a4d3471514fa40629e440e5e3.tar.bz2
merge with 3.4
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index e5f5644..894b08e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -343,7 +343,8 @@ AST_C= $(AST_C_DIR)/Python-ast.c
AST_ASDL= $(srcdir)/Parser/Python.asdl
ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py
-# XXX Note that a build now requires Python exist before the build starts
+# Note that a build now requires Python to exist before the build starts.
+# Use "hg touch" to fix up screwed up file mtimes in a checkout.
ASDLGEN= @ASDLGEN@ $(srcdir)/Parser/asdl_c.py
##########################################################################
@@ -1509,7 +1510,10 @@ TAGS::
etags Include/*.h; \
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
-# Touch generated files
+# This fixes up the mtimes of checked-in generated files, assuming that they
+# only *appear* to be outdated because of checkout order.
+# This is run while preparing a source release tarball, and can be run manually
+# to avoid bootstrap issues.
touch:
cd $(srcdir); \
hg --config extensions.touch=Tools/hg/hgtouch.py touch -v