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.
./doc/make_subarch_table_guidexml.py
doc/targets.generated.txt: doc/make_target_table.py $(wildcard catalyst/targets/*.py)
- "./$<" > "$@"
+ PYTHONPATH=. "./$<" > "$@"
$(DOCS): files/%.html: doc/%.txt doc/asciidoc.conf Makefile | files
a2x --conf-file=doc/asciidoc.conf --attribute="catalystversion=$(PACKAGE_VERSION)" \