From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5FD72138247 for ; Thu, 21 Nov 2013 09:06:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7AC9AE0A45; Thu, 21 Nov 2013 09:06:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F7E0E0A07 for ; Thu, 21 Nov 2013 09:06:38 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8724333F257 for ; Thu, 21 Nov 2013 09:06:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 18957E54DC for ; Thu, 21 Nov 2013 09:06:34 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1385024411.ece724c74da43bf12489a4e809e7c6e1665ff1a9.dol-sen@gentoo> Subject: [gentoo-commits] proj/catalyst:3.0 commit in: / X-VCS-Repository: proj/catalyst X-VCS-Files: Makefile X-VCS-Directories: / X-VCS-Committer: dol-sen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: ece724c74da43bf12489a4e809e7c6e1665ff1a9 X-VCS-Branch: 3.0 Date: Thu, 21 Nov 2013 09:06:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8519f994-87cd-44c0-9b33-c24bb3de5e89 X-Archives-Hash: 1341c465d33760deda666a418c08506c commit: ece724c74da43bf12489a4e809e7c6e1665ff1a9 Author: W. Trevor King tremily us> AuthorDate: Thu Jun 6 22:32:40 2013 +0000 Commit: Brian Dolbec gmail com> CommitDate: Thu Nov 21 09:00:11 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/catalyst.git;a=commit;h=ece724c7 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 __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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f69e5c..a130fb3 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ doc/subarches.generated.txt: $(wildcard catalyst/arch/*.py) doc/make_subarch_tab ./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)" \