summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-08 16:39:03 +0000
committerDavid Robillard <d@drobilla.net>2011-01-08 16:39:03 +0000
commitc92301fc4cd5620fe8193e2e6648ea86c580784d (patch)
tree55ecb11c784332692bd04157936fafe34bdf6076 /wscript
parent4c41b9240003e88c7dae7ba10dcca5ccd5a911dc (diff)
downloadpatchage-c92301fc4cd5620fe8193e2e6648ea86c580784d.tar.gz
patchage-c92301fc4cd5620fe8193e2e6648ea86c580784d.tar.bz2
patchage-c92301fc4cd5620fe8193e2e6648ea86c580784d.zip
Add version to about dialog (implement ticket #625).
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2797 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/wscript b/wscript
index 7eb555a..799e52e 100644
--- a/wscript
+++ b/wscript
@@ -132,8 +132,13 @@ def build(bld):
prog.source += ' src/AlsaDriver.cpp '
prog.uselib += ' ALSA '
- # Glade UI definitions (XML)
- bld.install_files('${DATADIR}/' + bld.env['APP_INSTALL_NAME'], 'src/patchage.glade')
+ # Glade XML UI definition
+ bld(features = 'subst',
+ source = 'src/patchage.glade',
+ target = 'patchage.glade',
+ install_path = '${DATADIR}/' + bld.env['APP_INSTALL_NAME'],
+ chmod = 0755,
+ PATCHAGE_VERSION = PATCHAGE_VERSION)
# 'Desktop' file (menu entry, icon, etc)
bld(features = 'subst',