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
783 B
27 lines
783 B
diff --git a/waf-light b/waf-light
|
|
index 16131d7..f613966 100755
|
|
--- a/waf-light
|
|
+++ b/waf-light
|
|
@@ -131,7 +131,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 3b02a42..438dc4c 100644
|
|
--- a/wscript
|
|
+++ b/wscript
|
|
@@ -340,7 +340,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(features = 'py')
|
|
wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])
|