X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fcis-docbook-utils;h=46636ecc7290673c33fd114077adb173ef2abf16;hb=5b913b7b528bb69a0c90583b8776d6d26b9cb189;hp=da0a79f3571d255706c6874cc0e5bc4b1f441bab;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage3/cis-docbook-utils b/stage3/cis-docbook-utils index da0a79f..46636ec 100755 --- a/stage3/cis-docbook-utils +++ b/stage3/cis-docbook-utils @@ -1,4 +1,6 @@ #!/bin/sh +set -o errexit + # First argument of this script is the package name # Reading system configuration informations, functions and package versions. @@ -7,18 +9,17 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && +apply_patches ${1} -cd ${LFS_TMP}/${1} && -sed -i 's:/html::' doc/HTML/Makefile.in && +cd ${LFS_TMP}/${1} +sed -i 's:/html::' doc/HTML/Makefile.in ./configure \ - --prefix=/usr && -make && -make install && + --prefix=/usr +make +make install for doctype in html ps dvi man pdf rtf tex texi txt; do - ln -sf docbook2$doctype /usr/bin/db2$doctype || exit 1 + ln -sf docbook2$doctype /usr/bin/db2$doctype done -# Return last error exit $?