[Python-Dev] [Python-checkins] cpython (2.7): #16004: Add `make touch`.

Brett Cannon brett at python.org
Mon Mar 11 14:22:38 CET 2013


Should this also touch Python/importlib.h?


On Mon, Mar 11, 2013 at 3:14 AM, ezio.melotti <python-checkins at python.org>wrote:

> 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
>
> _______________________________________________
> Python-checkins mailing list
> Python-checkins at python.org
> http://mail.python.org/mailman/listinfo/python-checkins
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130311/330859af/attachment.html>


More information about the Python-Dev mailing list