File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -336,7 +336,8 @@ AST_C= $(AST_C_DIR)/Python-ast.c
336336AST_ASDL= $(srcdir)/Parser/Python.asdl
337337
338338ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py
339- # XXX Note that a build now requires Python exist before the build starts
339+ # Note that a build now requires Python to exist before the build starts.
340+ # Use "hg touch" to fix up screwed up file mtimes in a checkout.
340341ASDLGEN= @ASDLGEN@ $(srcdir)/Parser/asdl_c.py
341342
342343##########################################################################
@@ -1500,7 +1501,10 @@ TAGS::
15001501 etags Include/*.h; \
15011502 for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
15021503
1503- # Touch generated files
1504+ # This fixes up the mtimes of checked-in generated files, assuming that they
1505+ # only *appear* to be outdated because of checkout order.
1506+ # This is run while preparing a source release tarball, and can be run manually
1507+ # to avoid bootstrap issues.
15041508touch:
15051509 cd $(srcdir); \
15061510 hg --config extensions.touch=Tools/hg/hgtouch.py touch -v
You can’t perform that action at this time.
0 commit comments