diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-19 00:14:27 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2015-10-19 00:14:27 +0300 |
commit | 3b2d33ef84ed717e875790b34bac028529420c08 (patch) | |
tree | c5374f2ec1f41904ed2321026ab42f7ea22dff1c /modules/gnome.py | |
parent | 572ce0f4519488840d466befde6bb38ccb044e40 (diff) | |
download | meson-3b2d33ef84ed717e875790b34bac028529420c08.zip meson-3b2d33ef84ed717e875790b34bac028529420c08.tar.gz meson-3b2d33ef84ed717e875790b34bac028529420c08.tar.bz2 |
Made gtkdochelper take arguments by switches rather than location.
Diffstat (limited to 'modules/gnome.py')
-rw-r--r-- | modules/gnome.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/gnome.py b/modules/gnome.py index 231cbd4..a744ab2 100644 --- a/modules/gnome.py +++ b/modules/gnome.py @@ -227,12 +227,12 @@ class GnomeModule: header_dir = os.path.join(state.environment.get_source_dir(), src_dir.get_curdir(), incdirs[0]) else: header_dir = os.path.normpath(os.path.join(state.subdir, src_dir)) - args = [state.environment.get_source_dir(), - state.environment.get_build_dir(), - state.subdir, - header_dir, - main_file, - modulename] + args = ['--sourcedir=' + state.environment.get_source_dir(), + '--builddir=' + state.environment.get_build_dir(), + '--subdir=' + state.subdir, + '--headerdir=' + header_dir, + '--mainfile=' + main_file, + '--modulename=' + modulename] res = [build.RunTarget(targetname, command, args, state.subdir)] if kwargs.get('install', True): res.append(build.InstallScript([command] + args)) |