examples/Makefile and manual/Makefile both use PWD when
setting PYTHONPATH. This breaks when -C is used with
make. For instance, in the root PyX directory, executing
$ echo $PWD
$ make -C examples pdf
will fail building hello.py because PYTHONPATH is set
to '/home/cookedm/src/Pyx-0.7/..'. PWD is taken from
the shell environment, whereas make sets CURDIR to the
correct current directory.
Log in to post a comment.