1 |
commit: ece724c74da43bf12489a4e809e7c6e1665ff1a9 |
2 |
Author: W. Trevor King <wking <AT> tremily <DOT> us> |
3 |
AuthorDate: Thu Jun 6 22:32:40 2013 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Nov 21 09:00:11 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=ece724c7 |
7 |
|
8 |
Makefile: Set PYTHONPATH=. for make_target_table.py |
9 |
|
10 |
Avoid: |
11 |
|
12 |
$ make |
13 |
... |
14 |
"./doc/make_target_table.py" > "doc/targets.generated.txt" |
15 |
Traceback (most recent call last): |
16 |
File "./doc/make_target_table.py", line 34, in <module> |
17 |
__import__(module_name) |
18 |
ImportError: No module named catalyst.targets.embedded |
19 |
make: *** [doc/targets.generated.txt] Error 1 |
20 |
|
21 |
This also ensures that the local catalyst package takes precedence |
22 |
over any previously installed version. |
23 |
|
24 |
--- |
25 |
Makefile | 2 +- |
26 |
1 file changed, 1 insertion(+), 1 deletion(-) |
27 |
|
28 |
diff --git a/Makefile b/Makefile |
29 |
index 6f69e5c..a130fb3 100644 |
30 |
--- a/Makefile |
31 |
+++ b/Makefile |
32 |
@@ -31,7 +31,7 @@ doc/subarches.generated.txt: $(wildcard catalyst/arch/*.py) doc/make_subarch_tab |
33 |
./doc/make_subarch_table_guidexml.py |
34 |
|
35 |
doc/targets.generated.txt: doc/make_target_table.py $(wildcard catalyst/targets/*.py) |
36 |
- "./$<" > "$@" |
37 |
+ PYTHONPATH=. "./$<" > "$@" |
38 |
|
39 |
$(DOCS): files/%.html: doc/%.txt doc/asciidoc.conf Makefile | files |
40 |
a2x --conf-file=doc/asciidoc.conf --attribute="catalystversion=$(PACKAGE_VERSION)" \ |