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>
Tue, 11 Jun 2013 13:49:44 +0000 (09:49 -0400)
commitf8989f9a1642dbe5db14e31693beafe566a0d019
treec5cbae2a851260acf492b18658df0b09547c10ab
parent8781c27e1fa18ca29b08603da76fd642e43701fb
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