[Python-checkins] cpython (2.7): #16004: Add `make touch`.
ezio.melotti
python-checkins at python.org
Mon Mar 11 08:14:24 CET 2013
http://hg.python.org/cpython/rev/da3f4774b939
changeset: 82600:da3f4774b939
branch: 2.7
parent: 82593:3e14aafeca04
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Mon Mar 11 09:14:09 2013 +0200
summary:
#16004: Add `make touch`.
files:
Makefile.pre.in | 6 +++++-
Misc/NEWS | 2 ++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1250,6 +1250,10 @@
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 @@
.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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -874,6 +874,8 @@
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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list