On 12/12/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > Jeremy Hylton wrote: > > > The C files are checked into subversion. Perhaps there is some > > problem with the timestamps that causes the Makefile to try to rebuild > > them anyway? I have a modern Python and I've been doing a fair amount > > of development on these files; as a result, I haven't noticed a > > problem. > > ah, of course. subversion sets the timestamp to the checkout time for each > file, so things may or may not work after a fresh checkout. > > however, adsl_c does use the installed python, rather than the local version: > > #! /usr/bin/env python > """Generate C code from an ASDL description.""" > > maybe the right thing here would be to change this to > > #!./python > """Generate C code from an ASDL description.""" > > and only run the script if ./python has been built ? >
What if you build with a different suffix for the executable? Or do different versions of make build different names (e.g., on my OS X machine the executable is python.exe in my checkout, not python)? The idea seems fine to me, though, since the generated files are already checked out. -Brett _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com