Shortcuts again:
[platal.git] / Makefile
index 3859605..768d9ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -108,7 +108,7 @@ htdocs/css/banana.css:
 
 jquery: htdocs/javascript/jquery.js htdocs/javascript/jquery.autocomplete.js
 htdocs/javascript/jquery.js:
-       wget http://jquery.com/src/jquery-latest.pack.js -O htdocs/javascript/jquery.js -q
+       wget http://jquery.com/src/jquery-latest.pack.js -O $@ -q || ($(RM) $@; exit 1)
 
 ################################################################################