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 21:42:22 +0000 (17:42 -0400)
commit8d9ac6ab19b92c301fa9fa7c8596bdcb713aeb91
tree731b891b2e732d4fb70f6e0884a2d0e8ed1e1d83
parentdcc7a03e12b79451a51eaff36f7ca7dd953a57aa
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