[vlc-commits] Tools: create directories before cp into them
Jean-Baptiste Kempf
git at videolan.org
Fri Oct 17 10:47:56 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 17 10:46:56 2014 +0200| [a78768e92195c5a24780efbe7693c3b686285281] | committer: Jean-Baptiste Kempf
Tools: create directories before cp into them
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a78768e92195c5a24780efbe7693c3b686285281
---
extras/tools/tools.mak | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/extras/tools/tools.mak b/extras/tools/tools.mak
index 2553413..71824bf 100644
--- a/extras/tools/tools.mak
+++ b/extras/tools/tools.mak
@@ -206,7 +206,8 @@ gas: gas-preprocessor-$(GAS_VERSION).tar.gz
$(MOVE)
.gas: gas
- cp gas/gas-preprocessor.pl build/bin/
+ mkdir -p $(PREFIX)/build/bin
+ cp gas/gas-preprocessor.pl $(PREFIX)/build/bin/
touch $@
CLEAN_FILE += .gas
@@ -258,7 +259,8 @@ ant: apache-ant-$(ANT_VERSION).tar.bz2
$(MOVE)
.ant: ant
- (cp $</bin/* build/bin/; cp $</lib/* build/lib/)
+ mkdir -p $(PREFIX)/build/bin
+ (cp $</bin/* $(PREFIX)/build/bin/ && cp $</lib/* $(PREFIX)/build/lib/)
touch $@
CLEAN_PKG += ant
More information about the vlc-commits
mailing list