X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=40a86572526ccd28a8d564901c881ef87eddfe47;hb=e5c7d07dbd241c1bf8ffe87ae7e1ccb64f113f32;hp=8206a484bc20cb21255e22e9fd58f148fee9db93;hpb=8373126dd6ab90e7e9198856b117590533debe4c;p=myslice.git diff --git a/Makefile b/Makefile index 8206a484..40a86572 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,11 @@ list-js: force @find . -type f -name '*.js' | grep -v '/all-static/' list-css: force @find . -type f -name '*.css' | grep -v '/all-static/' -list-img: +list-img: force @find . -type f -name '*.png' | grep -v '/all-static/' +list-all list-resources: list-html list-js list-css list-img + #################### manage static contents (extract from all the modules into the single all-static location) static: force ./manage.py collectstatic --noinput @@ -42,7 +44,7 @@ SSHCOMMAND:=ssh root@$(MYSLICEBOX) ### rsync options # the config file should probably not be overridden ?? # --exclude settings.py -LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' --exclude devel --exclude DataTables-1.9.4 +LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' --exclude devel --exclude DataTables-1.9.4 --exclude '*.sqlite3' # usual excludes RSYNC_EXCLUDES := --exclude .git --exclude '*~' --exclude TAGS --exclude .DS_Store $(LOCAL_RSYNC_EXCLUDES) # make -n will propagate as rsync -n