summaryrefslogtreecommitdiff
path: root/programmes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'programmes.sh')
-rw-r--r--programmes.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/programmes.sh b/programmes.sh
index 9c8d9e7..f03a636 100644
--- a/programmes.sh
+++ b/programmes.sh
@@ -1,3 +1,12 @@
+add-programs ()
+{
+ sed -i \
+ -e /'{PROGRAMS}'/'r '<(./build-programs.py) \
+ -e /'{PROGRAMS}'/'c\' \
+ $1
+}
+
title=Programmes
stylesheets=programmes
transforms=("$(transform-li-current-a programmes)")
+postprocess=add-programs