aboutsummaryrefslogtreecommitdiff
path: root/Makefile.doc
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2018-01-26 16:57:08 +0000
committerGravatar Yong Tang <yong.tang.github@outlook.com> 2018-01-26 08:57:08 -0800
commited02f5f2a2114e50e7b8a06fa3366fae6d473762 (patch)
tree9b1c54c7e1592a7b2a91e7ee6a4a408db2a71bae /Makefile.doc
parent4b5fc3002e052cef09267c4944286ca283908b1d (diff)
downloadcoredns-ed02f5f2a2114e50e7b8a06fa3366fae6d473762.tar.gz
coredns-ed02f5f2a2114e50e7b8a06fa3366fae6d473762.tar.zst
coredns-ed02f5f2a2114e50e7b8a06fa3366fae6d473762.zip
release improvements (#1439)
Last release I forgot steps, put them in Makefile.release. Generating the manual files will be skipped if 'ronn' can't be found.
Diffstat (limited to 'Makefile.doc')
-rw-r--r--Makefile.doc6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.doc b/Makefile.doc
index bafe55a67..5676bee3a 100644
--- a/Makefile.doc
+++ b/Makefile.doc
@@ -6,7 +6,13 @@ READMES:=$(subst /README.md,,$(READMES))
PLUGINS:=$(subst plugin/,corendns-,$(PLUGINS))
PLUGINS:=$(subst /README.md,(7),$(PLUGINS))
+ifeq (, $(shell which ronn))
+ $(warning "No ronn in $$PATH, exiting")
+all:
+ @echo "noop"
+else
all: man/coredns.1 man/corefile.5 plugins
+endif
man/coredns.1: coredns.1.md
sed -e 's/^\(#.*\)/\U\1/' $< > $@.md