diff options
author | konablend <[email protected]> | 2009-03-03 02:49:54 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2009-03-03 02:49:54 +0000 |
commit | 55afb374694267dd7209afd2ec279e8f51154bcf (patch) | |
tree | 8d56c354b0998d39fc0c992b1abd24753a4c46eb /test | |
parent | 0a6c39fcd2f352d0413298274efab13056fd429a (diff) |
BuildSystem:
- fixed OSX + Xcode to support parallel builds
- enhanced OSX + Xcode to use proper pass-thru for all make targets
- added global target --> install
- added install: test.install
- added install: gtk.install
- updated pre-generated building guides (these will go away when wiki is updated)
- updated xml2wiki script to spit out heading
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2205 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/module.defs | 3 | ||||
-rw-r--r-- | test/module.rules | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/test/module.defs b/test/module.defs index 3eda79509..a0ab7d000 100644 --- a/test/module.defs +++ b/test/module.defs @@ -14,6 +14,8 @@ TEST.libs = $(LIBHB.a) $(foreach n, \ ogg samplerate swscale theora vorbis vorbisenc x264 xvidcore, \ $(CONTRIB.build/)lib/lib$(n).a ) +TEST.install.exe = $(INSTALL.prefix/)bin/$(notdir $(TEST.exe)) + ## add libs from optional modules ifeq (1,$(BZIP2.enabled)) TEST.libs += $(CONTRIB.build/)lib/libbz2.a @@ -26,6 +28,7 @@ endif TEST.out += $(TEST.c.o) TEST.out += $(TEST.exe) +TEST.out += $(TEST.install.exe) BUILD.out += $(TEST.out) diff --git a/test/module.rules b/test/module.rules index 34004b97f..2a18db9b4 100644 --- a/test/module.rules +++ b/test/module.rules @@ -18,3 +18,15 @@ test.clean: build: test.build clean: test.clean + +############################################################################### + +## avoid installing CLI on darwin +ifneq ($(BUILD.system),darwin) + +install: test.install + +test.install: | $(dir $(TEST.install.exe)) + $(CP.exe) $(TEST.exe) $(TEST.install.exe) + +endif |