From b188cb3b549c046a5edf401c9cce8f2af2b559bb Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Wed, 3 Jun 2015 14:34:41 +0200 Subject: [PATCH] Forgot config files --- configure.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.py b/configure.py index f15a11b..50eae69 100755 --- a/configure.py +++ b/configure.py @@ -14,7 +14,7 @@ d_default = { "AR" : 'ar', "NINJA" : 'ninja', "CONFIG_FILES" : - ' '.join([ x for x in os.listdir('config') if x != '.empty']) + ' '.join([ os.path.join("config",x) for x in os.listdir('config') if x != '.empty']) } def create_make_config(): @@ -39,6 +39,8 @@ def read_make_config(): for line in f.readlines(): try: key, value = line.strip().split('=',1) + if value.startswith('"') and value.endswith('"'): + value = value[1:-1] except: print "Error in make.config:" print line @@ -107,9 +109,9 @@ rule build_ocaml description = Building Ocaml module -build make.config: build_make_config | configure.py +build make.config: build_make_config | configure.py -build {irpf90_files}: compile_irpf90 | {irpf90_sources} +build {irpf90_files}: compile_irpf90 | {irpf90_sources} {CONFIG_FILES} build src/IRPF90_temp/irpf90.a: build_irpf90_a | {irpf90_files}