Commit ccbf5bcd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Tools: create directories before cp into them

parent 32705a02
...@@ -206,7 +206,8 @@ gas: gas-preprocessor-$(GAS_VERSION).tar.gz ...@@ -206,7 +206,8 @@ gas: gas-preprocessor-$(GAS_VERSION).tar.gz
$(MOVE) $(MOVE)
.gas: gas .gas: gas
cp gas/gas-preprocessor.pl build/bin/ mkdir -p $(PREFIX)/bin
cp gas/gas-preprocessor.pl $(PREFIX)/build/bin/
touch $@ touch $@
CLEAN_FILE += .gas CLEAN_FILE += .gas
...@@ -258,7 +259,8 @@ ant: apache-ant-$(ANT_VERSION).tar.bz2 ...@@ -258,7 +259,8 @@ ant: apache-ant-$(ANT_VERSION).tar.bz2
$(MOVE) $(MOVE)
.ant: ant .ant: ant
(cp $</bin/* build/bin/; cp $</lib/* build/lib/) mkdir -p $(PREFIX)/bin
(cp $</bin/* $(PREFIX)/bin/ && cp $</lib/* $(PREFIX)/lib/)
touch $@ touch $@
CLEAN_PKG += ant CLEAN_PKG += ant
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment