diff options
| author | karltk <karltk@gentoo.org> | 2004-01-07 14:05:02 +0000 |
|---|---|---|
| committer | karltk <karltk@gentoo.org> | 2004-01-07 14:05:02 +0000 |
| commit | 3fcc9ce5d22ee4ccca3fafd90ddb825c2078b93e (patch) | |
| tree | d6bc32769c1d8ba6d2f01ba48d683ec540ff5356 | |
| parent | 883c1c08db619de8b631735aa6e4f42d85d9a0be (diff) | |
| download | gentoolkit-3fcc9ce5d22ee4ccca3fafd90ddb825c2078b93e.tar.gz | |
sys.path fixes
svn path=/; revision=50
| -rw-r--r-- | trunk/Makefile | 5 | ||||
| -rw-r--r-- | trunk/TODO | 5 | ||||
| -rw-r--r-- | trunk/src/equery/Makefile | 12 | ||||
| -rwxr-xr-x | trunk/src/equery/equery | 6 | ||||
| -rw-r--r-- | trunk/src/gentoolkit/Makefile | 2 |
5 files changed, 21 insertions, 9 deletions
diff --git a/trunk/Makefile b/trunk/Makefile index ef1074a..2941121 100644 --- a/trunk/Makefile +++ b/trunk/Makefile @@ -35,7 +35,8 @@ dist-gentoolkit-dev: dist-gentoolkit: mkdir -p release/gentoolkit-$(VERSION)$(RELEASE_TAG) - for x in equery etcat euse qpkg revdep-rebuild old-scripts ; do \ + rm -rf release/gentoolkit-$(VERSION)$(RELEASE_TAG)/ + for x in equery etcat euse qpkg gentoolkit revdep-rebuild old-scripts ; do \ ( cd src/$$x ; make distdir=release/gentoolkit-$(VERSION)$(RELEASE_TAG) dist ) \ done cp {Makefile,AUTHORS,README,TODO,COPYING,NEWS,ChangeLog} release/gentoolkit-$(VERSION)$(RELEASE_TAG)/ @@ -58,7 +59,7 @@ install-gentoolkit: install -m 0644 {AUTHORS,ChangeLog,COPYING,NEWS,README,TODO} $(docdir)/ - for x in equery etcat euse qpkg revdep-rebuild old-scripts ; do \ + for x in equery etcat euse qpkg gentoolkit revdep-rebuild old-scripts ; do \ ( cd src/$$x ; make DESTDIR=$(DESTDIR) install ) \ done @@ -25,5 +25,10 @@ - write a Gentoolkit Guide - write efeatures for turning on/off FEATURES in make.conf - look at ekeys, ewatch +- should be removed: + - etc-update + - epm + - useflag +- add 'clean' target + check esearch, eupdatedb: separate package for now diff --git a/trunk/src/equery/Makefile b/trunk/src/equery/Makefile index 77798c6..e639b5b 100644 --- a/trunk/src/equery/Makefile +++ b/trunk/src/equery/Makefile @@ -10,11 +10,11 @@ all: echo "YADDLETHORPE (vb.) (Of offended pooves.) To exit huffily from a boutique." dist: - mkdir -p ../../$(distdir)/src/gentool/ - cp {Makefile,AUTHORS,README,TODO,ChangeLog,gentool,gentool.1} ../../$(distdir)/src/gentool/ + mkdir -p ../../$(distdir)/src/equery/ + cp {Makefile,AUTHORS,README,TODO,ChangeLog,equery,equery.1} ../../$(distdir)/src/equery/ install: - install -m 0755 gentool $(bindir)/ - install -d $(docdir)/gentool - install -m 0644 {README,AUTHORS} $(docdir)/gentool/ - install -m 0644 gentool.1 $(mandir)/ + install -m 0755 equery $(bindir)/ + install -d $(docdir)/equery + install -m 0644 {README,AUTHORS} $(docdir)/equery/ + install -m 0644 equery.1 $(mandir)/ diff --git a/trunk/src/equery/equery b/trunk/src/equery/equery index 40b2e10..f139aee 100755 --- a/trunk/src/equery/equery +++ b/trunk/src/equery/equery @@ -17,9 +17,13 @@ import re import sys import time import string -import gentoolkit from output import * +sys.path = ["/usr/lib/portage/pym"] + \ + ["/usr/lib/gentoolkit/pym"] + \ + sys.path + +import gentoolkit # Auxiliary functions diff --git a/trunk/src/gentoolkit/Makefile b/trunk/src/gentoolkit/Makefile index 10df62d..2ebdcb5 100644 --- a/trunk/src/gentoolkit/Makefile +++ b/trunk/src/gentoolkit/Makefile @@ -4,6 +4,8 @@ # # $Header$ +include ../../makedefs.mak + all: echo "LISTOWEL (n.) The small mat on the bar designed to be more absorbent than the bar, but not as absorbent as your elbows." |
