diff options
author | Yorhel <git@yorhel.nl> | 2017-07-17 18:46:43 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2017-07-17 18:48:07 +0200 |
commit | 174926461a166edea69bce03257c1946658efc20 (patch) | |
tree | 6b76c1a5f882af3d8983d6459bed3b6caf2a19ec /Makefile | |
parent | d0113a1f076d3ccb9eaca196dc2a78af81a11a37 (diff) |
Makefile: Ensure static/f directory exists
Fixes a 'make' on a clean checkout
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -47,7 +47,7 @@ all: dirs js skins robots data/config.pl util/sql/editfunc.sql -dirs: static/ch static/cv static/sf static/st data/log www www/feeds www/api +dirs: static/ch static/f static/cv static/sf static/st data/log www www/feeds www/api js: static/f/vndb.js @@ -61,16 +61,16 @@ util/sql/editfunc.sql: util/sqleditfunc.pl util/sql/schema.sql util/sqleditfunc.pl static/ch static/cv static/sf static/st: - mkdir $@; - for i in $$(seq -w 0 1 99); do mkdir "$@/$$i"; done + mkdir -p $@; + for i in $$(seq -w 0 1 99); do mkdir -p "$@/$$i"; done -data/log www www/feeds www/api: - mkdir $@ +data/log www www/feeds www/api static/f: + mkdir -p $@ -static/f/vndb.js: data/js/*.js util/jsgen.pl data/config.pl data/global.pl +static/f/vndb.js: data/js/*.js util/jsgen.pl data/config.pl data/global.pl static/f util/jsgen.pl -data/icons/icons.css: data/icons/*.png data/icons/*/*.png util/spritegen.pl +data/icons/icons.css: data/icons/*.png data/icons/*/*.png util/spritegen.pl static/f util/spritegen.pl static/s/%/style.css: static/s/%/conf util/skingen.pl data/style.css data/icons/icons.css |