summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a6c98cc..e6241ca 100644
--- a/Makefile
+++ b/Makefile
@@ -37,4 +37,6 @@ $(htmlprogrammefiles): %.html : %.ttl
perl -pi -0 \
-e 's,^(.*?<h1[^>]*>)(.*?)(?=</h1>),<!DOCTYPE html>\n<meta charset="utf-8">\n<title>$$2</title>$$1$$2,ms;' \
-e 's,$(base)\K,/index.txt,;' \
+ -e "s,class='[^'] *\Kprogramme_current',',;" \
+ -e "s,<div class='programme_now_message'>now</div>,,g;" \
"$@"