summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-12 12:18:23 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-12 12:18:23 +0100
commitd3d91e71e5ba52cde8014d30d12b5b5c266cc1a8 (patch)
treeb8dfcc19123e7c8b8e5f790eceeca735cde64498 /update_jdn.sh
parentd4b1609b4b5b966b0882f0fc8d9d7c18a9f2b578 (diff)
downloadjenkins.debian.net-d3d91e71e5ba52cde8014d30d12b5b5c266cc1a8.tar.xz
split TODO in README and TODO. use stylesheets for asciidoc html documents
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index 89d07c32..226d67dd 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -54,11 +54,13 @@ explain "Packages configured."
cd $BASEDIR
cp -r bin logparse job-cfg /srv/jenkins/
explain "Jenkins updated."
-cp -r TODO userContent/* /var/lib/jenkins/userContent/
+cp -r TODO README userContent/* /var/lib/jenkins/userContent/
cd /var/lib/jenkins/userContent/
-asciidoc -a numbered -a data-uri -a iconsdir=/etc/asciidoc/images/icons -a scriptsdir=/etc/asciidoc/javascripts -a imagesdir=./ -b html5 -a toc -a toclevels=4 -a icons -a stylesheet=/var/lib/jenkins/userContent/theme/debian.css -o about.html TODO
-rm TODO
-explain "Updated about.html"
+ASCIIDOC_PARAMS="-a numbered -a data-uri -a iconsdir=/etc/asciidoc/images/icons -a scriptsdir=/etc/asciidoc/javascripts -a imagesdir=./ -b html5 -a toc -a toclevels=4 -a icons -a stylesheet=$(pwd)/theme/debian.css"
+asciidoc $ASCIIDOC_PARAMS -o about.html README
+asciidoc $ASCIIDOC_PARAMS -o todo.html TODO
+rm TODO README
+explain "Updated about.html and todo.html"
#
# run jenkins-job-builder to update jobs if needed