From 2590e3b4448798db88f650a4fbc37cec3b741a4a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 4 Jan 2015 23:28:52 -0800 Subject: Moved spec.html error checks into makespec.py. --- Makefile | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0457728..7c53359 100644 --- a/Makefile +++ b/Makefile @@ -180,14 +180,6 @@ dingus: js/commonmark.js spec.md: $(SPEC) python3 makespec.py markdown > $@ -spec: spec.html - @anchors=`perl -ne '@matches = / id="([^"]*)"/g; foreach $$match (@matches) { print "$$match\n"; }' $<`; \ - links=`perl -ne '@matches = / href="#([^"]*)"/g; foreach $$match (@matches) { print "$$match\n"; }' $<`; \ - for link in $$links; do \ - [[ $$anchors =~ $$link ]] || \ - echo "Link to missing anchor #$$link"; \ - done - spec.html: spec.txt template.html ${PROG} python3 makespec.py html > $@ -- cgit v1.2.3