summaryrefslogtreecommitdiffstats
path: root/test
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
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')
-rw-r--r--test/module.defs2
-rw-r--r--test/module.rules10
2 files changed, 8 insertions, 4 deletions
diff --git a/test/module.defs b/test/module.defs
index a0ab7d000..af42f13c7 100644
--- a/test/module.defs
+++ b/test/module.defs
@@ -28,9 +28,9 @@ endif
TEST.out += $(TEST.c.o)
TEST.out += $(TEST.exe)
-TEST.out += $(TEST.install.exe)
BUILD.out += $(TEST.out)
+BUILD.out += $(TEST.install.exe)
###############################################################################
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