Makefile: Set PYTHONPATH=. for make_target_table.py build
authorW. Trevor King <wking@tremily.us>
Thu, 6 Jun 2013 22:32:40 +0000 (18:32 -0400)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Jun 2013 00:34:44 +0000 (20:34 -0400)
commitef82bd81493bd5a4afcc169ff4c31a2c3656dafe
treecdea973f3cecf059a0cf4e366a3f9b1cf8a33c37
parent981ff1e9781202c77ae54fef4fd735604a963dcb
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