]> granicus.if.org Git - python/commitdiff
#16004: Add `make touch`.
authorEzio Melotti <ezio.melotti@gmail.com>
Mon, 11 Mar 2013 07:14:09 +0000 (09:14 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Mon, 11 Mar 2013 07:14:09 +0000 (09:14 +0200)
Makefile.pre.in
Misc/NEWS

index 01f46994c1fc45b3e71fa558018803dca5b498a7..93fb0cf40c856d747b31fa27f8cef22f1cd1786a 100644 (file)
@@ -1250,6 +1250,10 @@ TAGS::
        etags Include/*.h; \
        for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
 
+# Touch generated files
+touch:
+       touch Include/Python-ast.h Python/Python-ast.c
+
 # Sanitation targets -- clean leaves libraries, executables and tags
 # files, which clobber removes as well
 pycremoval:
@@ -1339,7 +1343,7 @@ Python/thread.o: @THREADHEADERS@
 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
-.PHONY: smelly funny patchcheck altmaninstall
+.PHONY: smelly funny patchcheck touch altmaninstall
 .PHONY: gdbhooks
 
 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 860c64eb96f43fbc280486fc75a8eac290f73ec4..ec273670eeb15b4444f177169e82341bbc67c71c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -874,6 +874,8 @@ Tests
 Build
 -----
 
+- Issue #16004: Add `make touch`.
+
 - Issue #5033: Fix building of the sqlite3 extension module when the
   SQLite library version has "beta" in it. Patch by Andreas Pelme.