Makefile: add missing dependency for `www/data'

This commit is contained in:
Christos Kontas 2018-02-01 10:00:51 +01:00
parent 1bb38796ad
commit 295f0d024a
1 changed files with 4 additions and 1 deletions

View File

@ -29,5 +29,8 @@ release: bindata.go
docs: readme
cd www && hugo -d ../docs
readme:
readme: www/data
cat README.md | python -c 'import json,sys; print(json.dumps({"content": sys.stdin.read()}))' > www/data/readme.json
www/data:
mkdir -p $@