summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-11 09:14:09 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-11 09:14:09 +0200
commit617e2c186de0a1e71d21162559ccfb553652fbb5 (patch)
tree0f9314f06a0ab2a0a6e386d4376a395402c306f4
parent9b9cd4c85e5f712e365cc54fff78b09a1c14a19c (diff)
downloadcpython-git-617e2c186de0a1e71d21162559ccfb553652fbb5.tar.gz
#16004: Add `make touch`.
-rw-r--r--Makefile.pre.in6
-rw-r--r--Misc/NEWS2
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 01f46994c1..93fb0cf40c 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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
diff --git a/Misc/NEWS b/Misc/NEWS
index 860c64eb96..ec273670ee 100644
--- 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.