You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
772 B
27 lines
772 B
diff --git a/waf-light b/waf-light
|
|
index 2b8f9a9..0bde2fa 100755
|
|
--- a/waf-light
|
|
+++ b/waf-light
|
|
@@ -127,7 +127,7 @@ def find_lib():
|
|
if w: return w
|
|
err("waf-light requires wafadmin -> export WAFDIR=/folder")
|
|
|
|
- dir = "/lib/%s-%s-%s/" % (WAF, VERSION, REVISION)
|
|
+ dir = "/share/waf/"
|
|
for i in [INSTALL,'/usr','/usr/local','/opt']:
|
|
w = test(i+dir)
|
|
if w: return w
|
|
diff --git a/wscript b/wscript
|
|
index 42c39e9..2b3b42d 100644
|
|
--- a/wscript
|
|
+++ b/wscript
|
|
@@ -313,7 +313,7 @@ def build(bld):
|
|
if val != True and val != "y": sys.exit(1)
|
|
create_waf()
|
|
|
|
- dir = os.path.join('lib', 'waf-%s-%s' % (VERSION, REVISION), 'wafadmin')
|
|
+ dir = os.path.join('share', 'waf', 'wafadmin')
|
|
|
|
wafadmin = bld('py')
|
|
wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])
|