Cheers,
Nick.

> �
>>
>>
>> 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); 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@python.org
>>> http://mail.python.org/mailman/listinfo/python-checkins
>>>
>>
>
>
> _______________________________________________
> Python-checkins mailing list
Python-checkins@python.org
http://mail.python.org/mailman/listinfo/python-checkins
>

">

(original) (raw)


On 11 Mar 2013 06:23, "Brett Cannon" <brett@python.org> wrote:
\>
\>
\>
\>
\> On Mon, Mar 11, 2013 at 9:22 AM, Brett Cannon <brett@python.org> wrote:
\>>
\>> Should this also touch Python/importlib.h?
\>>
\>
\> nm, noticed this was added on 2.7 and not default.

Default already had it, this was a back port so that "make touch" could be given as a consistent fix for certain build problems in the devguide. (Specifically, make trying to rebuild those files when you don't yet have the necessary pieces available to do so)

Cheers,
Nick.

> �
\>>
\>>
\>> 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);doetagsa$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
\>>>
\>>
\>
\>
\> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\> Python-checkins mailing list
\> Python-checkins@python.org
\> http://mail.python.org/mailman/listinfo/python-checkins
\>