diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-07-30 02:01:47 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-08-02 13:49:11 +0300 |
commit | 83cc5ce4c594306f0d37106dfaa829daa6c084a5 (patch) | |
tree | 3d96bc3e7b870e50e4140fc49766057d26438578 /modules/gnome.py | |
parent | 8b52dec6d9c078082fd2896779c24de9578fe382 (diff) | |
download | meson-83cc5ce4c594306f0d37106dfaa829daa6c084a5.zip meson-83cc5ce4c594306f0d37106dfaa829daa6c084a5.tar.gz meson-83cc5ce4c594306f0d37106dfaa829daa6c084a5.tar.bz2 |
Allow more than one install script and make gtkdoc method return one.
Diffstat (limited to 'modules/gnome.py')
-rw-r--r-- | modules/gnome.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gnome.py b/modules/gnome.py index 64e91df..ed56989 100644 --- a/modules/gnome.py +++ b/modules/gnome.py @@ -192,7 +192,10 @@ class GnomeModule: state.subdir, os.path.normpath(os.path.join(state.subdir, src_dir)), modulename] - return build.RunTarget(targetname, command, args, state.subdir) + res = [build.RunTarget(targetname, command, args, state.subdir)] + if kwargs.get('install', True): + res.append(build.InstallScript([command] + args)) + return res def gdbus_codegen(self, state, args, kwargs): if len(args) != 2: |