diff options
Diffstat (limited to 'wscript.template')
-rw-r--r-- | wscript.template | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/wscript.template b/wscript.template index eba53b0..725d0b5 100644 --- a/wscript.template +++ b/wscript.template @@ -6,7 +6,7 @@ import waflib.Options as Options # Variables for 'waf dist' APPNAME = 'lv2-@NAME@' -VERSION = '1.2' +VERSION = '@VERSION@' # Mandatory variables top = '.' @@ -31,6 +31,13 @@ def build(bld): bundle_dir = os.path.join(bld.env['LV2DIR'], '@NAME@.lv2') include_dir = os.path.join(bld.env['INCLUDEDIR'], 'lv2', include_base) + # Pkgconfig file + obj = bld(features = 'subst', + source = '@PKGCONFIG_NAME@.pc.in', + target = '@PKGCONFIG_NAME@.pc', + install_path = '${LIBDIR}/pkgconfig', + INCLUDEDIR = bld.env['INCLUDEDIR']) + # Install bundle bld.install_files(bundle_dir, bld.path.ant_glob('?*.*')) |