From a9172824a2bcbc4a5cefa7982a8b0544b82a830f Mon Sep 17 00:00:00 2001 From: Christos Kontas Date: Thu, 1 Feb 2018 10:13:39 +0100 Subject: [PATCH] Makefile: shorten recipe using default target var --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ccbb8d6..b9812e2 100644 --- a/Makefile +++ b/Makefile @@ -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 $@