summaryrefslogtreecommitdiffstats
path: root/test/module.rules
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-03-03 18:34:20 +0000
committerkonablend <[email protected]>2009-03-03 18:34:20 +0000
commit3e9713bf92d9482b6303656407d24697446b1c8e (patch)
tree7a6fc5ce477bac25451d4c252f3d588326820545 /test/module.rules
parentdf20c24f9308bea08a200bc59269a724737b92da (diff)
BuildSystem:
- added global uninstall target; the inverse of install - $PREFIX/bin/HandBrakeCLI longer paritipates in clean - added target test.uninstall to remove $PREFIX/bin/HandBrakeCLI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2212 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/module.rules')
-rw-r--r--test/module.rules10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/module.rules b/test/module.rules
index 2a18db9b4..9a47aa172 100644
--- a/test/module.rules
+++ b/test/module.rules
@@ -21,12 +21,16 @@ clean: test.clean
###############################################################################
-## avoid installing CLI on darwin
+## skip install/uninstall on darwin
ifneq ($(BUILD.system),darwin)
-install: test.install
-
test.install: | $(dir $(TEST.install.exe))
$(CP.exe) $(TEST.exe) $(TEST.install.exe)
+test.uninstall:
+ $(RM.exe) -f $(TEST.install.exe)
+
+install: test.install
+uninstall: test.uninstall
+
endif