aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2015-12-31 14:09:54 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2015-12-31 15:03:18 +0200
commitea9b49438df496003291287f0028062c195df502 (patch)
tree6b27597c1e4b6192e9dcdc00f1aed34deac0332d
parent4352d1b4bf7dbc8683b333272769dbcfe884d86d (diff)
downloadmeson-ea9b49438df496003291287f0028062c195df502.zip
meson-ea9b49438df496003291287f0028062c195df502.tar.gz
meson-ea9b49438df496003291287f0028062c195df502.tar.bz2
Always run ninja test even if there is a rogue install file at the top of your build dir. Closes #343.
-rw-r--r--ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ninjabackend.py b/ninjabackend.py
index 8fc1772..1ef2642 100644
--- a/ninjabackend.py
+++ b/ninjabackend.py
@@ -460,7 +460,7 @@ int dummy;
d = InstallData(self.environment.get_source_dir(),
self.environment.get_build_dir(),
self.environment.get_prefix(), depfixer)
- elem = NinjaBuildElement('install', 'CUSTOM_COMMAND', '')
+ elem = NinjaBuildElement('install', 'CUSTOM_COMMAND', 'PHONY')
elem.add_dep('all')
elem.add_item('DESC', 'Installing files.')
elem.add_item('COMMAND', [sys.executable, install_script, install_data_file])