Makefile: shorten recipe using default target var

This commit is contained in:
Christos Kontas 2018-02-01 10:13:39 +01:00
parent 858872bab8
commit a9172824a2
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,6 @@ docs: readme
readme: www/data/readme.json
www/data/readme.json: www/data README.md
cat README.md | python -c 'import json,sys; print(json.dumps({"content": sys.stdin.read()}))' > www/data/readme.json
cat README.md | python -c 'import json,sys; print(json.dumps({"content": sys.stdin.read()}))' > $@
www/data bin:
mkdir -p $@