On 12/12/05, Fredrik Lundh <fredrik at pythonware.com> 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4