From 4770bb3b198b15ea146fe2b306c034e88f3f9cb5 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 24 Nov 2018 19:32:24 +0100 Subject: Use linkchecker. Fix phony targets. --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b883a3a..9eef38f 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ -# Depends: mkdocs +# Depends: mkdocs linkchecker -all: docs +all: doc -docs: docs-prep +doc: docs mkdocs build + linkchecker site/index.html -docs-prep: +docs: mkdir -p docs ln -sf ../README.md docs/index.md ln -sf ../USE.md docs/use.md @@ -15,4 +16,4 @@ clean: rm -rf site rm -rf docs -PHONY: all clean +.PHONY: all doc clean -- cgit v1.2.3