summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7e9d11a..a6c98cc 100644
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,6 @@ $(htmlprogrammefiles): %.html : %.ttl
$(eval base = $(call getbase, $<))
wget -O"$@" "http://programme.ecs.soton.ac.uk/tool.php?src=$(base)"
perl -pi -0 \
- -e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2$$1$$2,ms;' \
+ -e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2</title>$$1$$2,ms;' \
-e 's,$(base)\K,/index.txt,;' \
"$@"