summaryrefslogtreecommitdiffstats
path: root/contrib/bzip2
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-03-05 08:58:30 +0000
committerkonablend <[email protected]>2009-03-05 08:58:30 +0000
commit315201db9b43310589d59270d16304240f6d886e (patch)
tree1855dfe16ba28a3d08d34f22cb6795d624584c90 /contrib/bzip2
parentd9cbd469c2cda62f205599173910ec627031dadd (diff)
BuildSystem:
- fixed race condition where bzip2,xvidcore may fail on missing contrib/{lib,include} dirs. - replaced literal command uses with var in bzip2,xvidcore . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2224 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/bzip2')
-rw-r--r--contrib/bzip2/module.defs9
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/bzip2/module.defs b/contrib/bzip2/module.defs
index 83107cfdc..bda2a132f 100644
--- a/contrib/bzip2/module.defs
+++ b/contrib/bzip2/module.defs
@@ -13,14 +13,13 @@ BZIP2.BUILD.extra = \
BZIP2.BUILD.ntargets = libbz2.a
define BZIP2.INSTALL
- mkdir -p $(CONTRIB.build/)lib/ $(CONTRIB.build/)include/
- cp $(BZIP2.EXTRACT.dir/)libbz2.a $(CONTRIB.build/)lib/
- cp $(BZIP2.EXTRACT.dir/)bzlib.h $(CONTRIB.build/)include/
+ $(CP.exe) $(BZIP2.EXTRACT.dir/)libbz2.a $(CONTRIB.build/)lib/
+ $(CP.exe) $(BZIP2.EXTRACT.dir/)bzlib.h $(CONTRIB.build/)include/
$(TOUCH.exe) $@
endef
define BZIP2.UNINSTALL
- rm $(CONTRIB.build/)lib/libbz2.a
- rm $(CONTRIB.build/)include/bzlib.h
+ $(RM.exe) $(CONTRIB.build/)lib/libbz2.a
+ $(RM.exe) $(CONTRIB.build/)include/bzlib.h
$(RM.exe) -f $(BZIP2.INSTALL.target)
endef