X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=Makefile;h=1b1cce677beb7f8ec7ade050762a41dc32e1affa;hp=11039bcdf7cd348ee5a4749a93cc27d50d44b62f;hb=HEAD;hpb=be246293072b9e3b10aa10219dbfcb575cc955a8 diff --git a/Makefile b/Makefile index 11039bc..1b1cce6 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,13 @@ +all: style.css -all: style.css tags +clean: + rm -f css.css tags -init: files cms_images all +style.css: css/style.scss + ./build production && cp css/dist/css.css style.css -files: - mkdir -m 777 $@ +%.min.svg: %.svg + svgo $< $@ -cms_images: - mkdir -m 777 $@ - -tags: *.php code/*.php code/wfpl/*.php - exuberant-ctags *.php code/*.php code/wfpl/*.php - -style.css: style.less - lessc $< $@ +tags: *.php inc/*.php inc/wfpl/*.php + ctags *.php inc/*.php inc/wfpl/*.php