From 81b0b208278ea8982d6581bda0dc922c466df2a9 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 29 Dec 2017 16:41:51 -0800 Subject: Generate README.md from template and MANUAL.txt. `make README.md` will generate the README.md after changes to MANUAL.txt have been made. --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f0e0d1b8a..b48bd9287 100644 --- a/Makefile +++ b/Makefile @@ -82,6 +82,10 @@ doc/lua-filters.md: tools/ldoc.ltp data/pandoc.lua tools/update-lua-docs.lua -o $@ $@.tmp rm $@.tmp +README.md: README.template MANUAL.txt tools/update-readme.lua + pandoc --lua-filter tools/update-readme.lua --reference-links \ + --reference-location=section $< -o $@ + download_stats: curl https://api.github.com/repos/jgm/pandoc/releases | \ jq -r '.[] | .assets | .[] | "\(.download_count)\t\(.name)"' -- cgit v1.2.3