summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-18 18:22:20 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-18 18:22:20 +0100
commit5152e30f08003ac2ad528ad864c3b6b543e00b0e (patch)
treea9819287ad7e861619409e12d4ae91946cc59b2a /bin
parent32e774446d2f5369779747db36fe430b35442c80 (diff)
downloadjenkins.debian.net-5152e30f08003ac2ad528ad864c3b6b543e00b0e.tar.xz
add d-i_manual_*_pdf jobs
Diffstat (limited to 'bin')
-rwxr-xr-xbin/d-i_check_jobs.sh3
-rwxr-xr-xbin/d-i_manual.sh8
2 files changed, 7 insertions, 4 deletions
diff --git a/bin/d-i_check_jobs.sh b/bin/d-i_check_jobs.sh
index 84393141..2caa15a1 100755
--- a/bin/d-i_check_jobs.sh
+++ b/bin/d-i_check_jobs.sh
@@ -59,9 +59,8 @@ done
rm $TMPFILE
#
-# check for missing d-i manual language build jobs
+# FIXME: implement check for missing d-i manual language build jobs
#
-# FIXME: implement this check ;-)
echo "Warning: check for missing d-i manual build jobs not implemented"
#
diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh
index d59ff7b2..ceeabfef 100755
--- a/bin/d-i_manual.sh
+++ b/bin/d-i_manual.sh
@@ -59,10 +59,14 @@ build_language() {
init_workspace
#
# if $1 is not given, build the whole manual,
-# else just the language $1 as html
+# else just the language $1 in format $2
#
if [ "$1" = "" ] ; then
pdebuild_package
else
- build_language $1 html
+ if [ "$2" = "" ] ; then
+ echo "Error: need format too."
+ exit 1
+ fi
+ build_language $1 $2
fi