From dfa750a7f542d93155d8334ef96daa08c0ac8e4f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 2 Jan 2019 16:20:34 +0100 Subject: Makefile: update links for generated html --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2544698..f96e73e 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ HTML = $(MARKDOWN:.md=.html) all: $(CAPSMAN) $(LOCAL) $(HTML) %.html: %.md Makefile - markdown $< > $@ + markdown $< | sed 's/href="\([-[:alnum:]]*\)\.md"/href="\1.html"/g' > $@ %.local: %.template Makefile sed -e '/\/ caps-man/d' -e 's|%PATH%|interface wireless|' -e 's|%TEMPL%|$(suffix $@)|' \ -- cgit v1.2.3-70-g09d2