summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 2 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 1b0395b..f41d190 100644
--- a/SConstruct
+++ b/SConstruct
@@ -23,7 +23,7 @@ def build_ui(target, source, env):
f.write('#ifndef _WALLS_UI_H_\n')
f.write('#define _WALLS_UI_H_\n')
f.write('#include <gtk/gtk.h>\n')
- f.write('gchar *ui_string = \n')
+ f.write('gchar *%s_string = \n' % str(target[0]).rsplit('.', 1)[0])
for line in open(str(source[0]), 'r'):
f.write('"%s"\n' % line.replace('"', '\\"').strip())
f.write(';\n')
@@ -33,6 +33,7 @@ ui_builder = Builder(action = build_ui)
env['BUILDERS']['walls_ui'] = ui_builder
env.walls_ui('walls_ui.h', 'walls.ui')
+env.walls_ui('tags_ui.h', 'tags.ui')
walls = env.Program('walls', Glob('*.c'))
destdir = ARGUMENTS.get('DESTDIR', '')