From f2254fd02a6f3333123ba77c51b2608611ed7449 Mon Sep 17 00:00:00 2001 From: yvesf Date: Wed, 11 May 2011 21:48:52 +0200 Subject: vorab: html version mit pdf download --- make.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 make.sh (limited to 'make.sh') diff --git a/make.sh b/make.sh new file mode 100755 index 0000000..853db91 --- /dev/null +++ b/make.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +git cat-file blob master:document.pdf > document.pdf +nice convert -verbose -density 150 document.pdf -resize 1000 -quality 60 images/image-%03d.jpg + +cat > index.html <<"HTML" + + +Studienarbeit 2011 KSM Eclipse-RCP + + + + + + +Download als PDF +
+
+HTML + +for image in images/image-*.jpg; do + cat >> index.html < +
+
+HTML +done + + +cat >> index.html < + +HTML -- cgit v1.2.1