original) (raw)
(Should this also touch Python/importlib.h?
On Mon, Mar 11, 2013 at 3:14 AM, ezio.melotti <python-checkins@python.org> wrote:
_______________________________________________http://hg.python.org/cpython/rev/da3f4774b939
changeset: 82600:da3f4774b939
branch: 2.7
parent: 82593:3e14aafeca04
user: Ezio Melotti <ezio.melotti@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);doetags−a(SRCDIRS); do etags -a (SRCDIRS);doetags−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
Python-checkins mailing list
Python-checkins@python.org
http://mail.python.org/mailman/listinfo/python-checkins