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

Nick Coghlan ncoghlan at gmail.com
Tue Mar 12 16:26:07 CET 2013


On 11 Mar 2013 06:23, "Brett Cannon" <brett at python.org> wrote:
>
>
>
>
> On Mon, Mar 11, 2013 at 9:22 AM, Brett Cannon <brett at 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 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
>>>
>>
>
>
> _______________________________________________
> 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-checkins/attachments/20130313/62e2ee9b/attachment-0001.html>


More information about the Python-checkins mailing list