X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=4168c6b41e0f29f7789aba9181f13278392aa699;hb=6373f4c6f48b4a2e049372ad6c6dd4adf9c95b69;hp=19418dbd5ad1137b0bb6566653aacdc42db8ecc7;hpb=bc918b4572f0f05c7f0080f3c65ff1d82cb3f133;p=unfold.git diff --git a/Makefile b/Makefile index 19418dbd..4168c6b4 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|/bootstrap/|/jquery/|datatables/' # in general it's right to rely on the contents as reported by git tags: force @@ -17,6 +17,17 @@ tags: force ftags: force find . -type f | fgrep -v '/.git/' | xargs etags +list-html: force + @find . -type f -name '*.html' +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 ./manage.py collectstatic --noinput