summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-03-31 03:44:26 +0200
committerJonas Smedegaard <dr@jones.dk>2014-03-31 03:44:26 +0200
commit9abbe1b2fe087d498e5686112bf6ae05c337ce3e (patch)
tree5e2ff44d7f707c51aa4d808f76e8d78240f2cdb6 /Makefile
parent2c45802e11a034a2866379886fce491d0f882e62 (diff)
Strip 'now' from rendered schedule.
Diffstat (limited to 'Makefile')
-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;" \
"$@"