index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-11-06 00:26:38 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-11-06 16:11:53 +1000 |
commit | 7b73c4a75fbddcfa1bc552fed49c228b9cdaf7b0 (patch) | |
tree | db294fc36e36b1ed3bdcb38a0bcc638522117a40 /scripts/meson.build | |
parent | 8c7043390f80d93445f2817ae5419b06fc72983a (diff) |
-rw-r--r-- | scripts/meson.build | 10 |
diff --git a/scripts/meson.build b/scripts/meson.build index 56f31222..696d8ddd 100644 --- a/scripts/meson.build +++ b/scripts/meson.build @@ -14,18 +14,12 @@ SCRIPT_EDITOR = find_program(configure_file( output : 'edit-script.sh', configuration : substs)) -m4_edit = generator( - M4, - arguments : ['-P', '-I', meson.current_source_dir(), '@INPUT@'], - output : '@PLAINNAME@', - capture : true) - foreach script : scripts script_shortname = script.split('.')[0] custom_target( script, - input : m4_edit.process(script), + input : script, command : [ SCRIPT_EDITOR, '@INPUT@', '@OUTPUT@', '0755'], output : script_shortname, install : true, @@ -40,7 +34,7 @@ foreach script : wrapped_scripts # the build directory. internal_script = custom_target( script, - input : m4_edit.process(script), + input : script, command : [ SCRIPT_EDITOR, '@INPUT@', '@OUTPUT@', '0755'], output : script, build_by_default : true) |