X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=blobdiff_plain;f=Makefile;h=1b1cce677beb7f8ec7ade050762a41dc32e1affa;hp=9eeb0f444ca8c2dec2a87b32f239bdc013075157;hb=HEAD;hpb=23e93d1d63fc861743101a07f3855afb886c0f93 diff --git a/Makefile b/Makefile index 9eeb0f4..1b1cce6 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,13 @@ +all: style.css -all: style.css tags +clean: + rm -f css.css tags -tags: *.php code/*.php code/wfpl/*.php - exuberant-ctags *.php code/*.php code/wfpl/*.php +style.css: css/style.scss + ./build production && cp css/dist/css.css style.css -style.css: style.less - lessc $< $@ +%.min.svg: %.svg + svgo $< $@ + +tags: *.php inc/*.php inc/wfpl/*.php + ctags *.php inc/*.php inc/wfpl/*.php