[libgda] meson: fixed name of raw xml in providers
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] meson: fixed name of raw xml in providers
- Date: Fri, 22 Jun 2018 17:34:06 +0000 (UTC)
commit 6c636cc2cb4f9934b0721f9e1cf321447d1198c3
Author: Daniel Espinosa <esodan gmail com>
Date: Fri Jun 22 12:33:16 2018 -0500
meson: fixed name of raw xml in providers
providers/postgres/meson.build | 8 ++++----
providers/raw_spec.py | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/providers/postgres/meson.build b/providers/postgres/meson.build
index 90e3e143b..927677f1b 100644
--- a/providers/postgres/meson.build
+++ b/providers/postgres/meson.build
@@ -46,14 +46,14 @@ foreach xt : postgres_xml_fnames
endforeach
xml_res = []
-foreach xr : postgres_xml_fnames
- xml_res += custom_target(xr+'.raw.xml',
+foreach xrp : postgres_xml_fnames
+ xml_res += custom_target(xrp+'.raw.xml',
command: [raw_spec,
'-o', meson.current_build_dir(),
'@INPUT@'
],
- input: xr+'.xml.in',
- output: xr+'.raw.xml',
+ input: xrp+'.xml.in',
+ output: xrp+'.raw.xml',
)
endforeach
diff --git a/providers/raw_spec.py b/providers/raw_spec.py
index a91d3f40b..59a0c7976 100755
--- a/providers/raw_spec.py
+++ b/providers/raw_spec.py
@@ -27,7 +27,7 @@ for c in root.iter():
rename_attr(c, '_descr', 'descr')
n=os.path.basename(dargs['source'])
-nfile=n.replace('.xml.in', '.xml')
+nfile=n.replace('.xml.in', '.raw.xml')
ofile=os.path.join(dargs['output'],nfile)
print ofile
spec.write(ofile)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]