X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=a29b5b3a44980d20fe6280c4346c9b2d8e521e68;hb=a39d44883f3424d04134e4105873e88336b00795;hp=92f9d13d27a4bd7ae9ea587dd08712410d0465bd;hpb=940c937b5e7165e3ac65c95ab010ca69313645e1;p=unfold.git diff --git a/Makefile b/Makefile index 92f9d13d..a29b5b3a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ force: #################### compute emacs tags # list files under git but exclude third-party stuff like bootstrap and jquery myfiles: force - @git ls-files | egrep -v 'insert_above/|/bootstrap/|/jquery/|datatables/' + @git ls-files | egrep -v 'insert(_|-)above|static/bootstrap|/jquery/|datatables/' # in general it's right to rely on the contents as reported by git tags: force @@ -23,6 +23,10 @@ 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: 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 @@ -40,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 all-static --exclude '*.sqlite3' # usual excludes RSYNC_EXCLUDES := --exclude .git --exclude '*~' --exclude TAGS --exclude .DS_Store $(LOCAL_RSYNC_EXCLUDES) # make -n will propagate as rsync -n