summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-04 23:28:52 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-04 23:28:52 -0800
commit2590e3b4448798db88f650a4fbc37cec3b741a4a (patch)
treebe970774f4d009a27b09a54d44c82e1aec528da1 /Makefile
parentace1b42818ebdbee46ca0153fb0b49e1494321e0 (diff)
Moved spec.html error checks into makespec.py.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 0 insertions, 8 deletions
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 > $@