New handler profile/ax/{user_id}
[platal.git] / Makefile
index 4004963..768d9ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -106,9 +106,9 @@ htdocs/css/banana.css:
 ## jquery
 ##
 
-jquery: htdocs/javascript/jquery.js
+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)
 
 ################################################################################