Makefile: Set PYTHONPATH=. for make_target_table.py
authorW. Trevor King <wking@tremily.us>
Thu, 6 Jun 2013 22:32:40 +0000 (18:32 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 15 Dec 2013 04:25:09 +0000 (20:25 -0800)
commitf57c113da07c1cc5fe77ff6edf5cfff1f0d55105
tree0f50458e2cda7971f032a405848cb28cbfee3e44
parent0ed82213e79302e0afccbfb91ea9c03cb3c119b7
Makefile: Set PYTHONPATH=. for make_target_table.py

Avoid:

  $ make
  ...
  "./doc/make_target_table.py" > "doc/targets.generated.txt"
  Traceback (most recent call last):
    File "./doc/make_target_table.py", line 34, in <module>
      __import__(module_name)
  ImportError: No module named catalyst.targets.embedded
  make: *** [doc/targets.generated.txt] Error 1

This also ensures that the local catalyst package takes precedence
over any previously installed version.
Makefile