X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fcis-groff;h=c046397b06cb024a0481e6424f548f465e73a9d7;hb=d7900cf1804af891098cd22b0ff32aee9df51969;hp=202430eadab5dec992b6a46bbc562700c0ba5170;hpb=16cc35ba4890382ee9368a176e4f5a7fa773b7a6;p=hvlinux.git diff --git a/stage2/cis-groff b/stage2/cis-groff index 202430e..c046397 100755 --- a/stage2/cis-groff +++ b/stage2/cis-groff @@ -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,26 +9,20 @@ source ../functions source ../packages-list # Applying patches (if any) -apply_patches ${1} && - -cd ${LFS_TMP}/${1} && +apply_patches ${1} -# Many screen fonts don't have Unicode single quotes and dashes in -# them. Tell Groff to use the ASCII equivalents instead: -sed -i -e 's/2010/002D/' -e 's/2212/002D/' \ - -e 's/2018/0060/' -e 's/2019/0027/' font/devutf8/R.proto && +cd ${LFS_TMP}/${1} PAGE=letter ./configure \ --prefix=/usr \ - --enable-multibyte && + --enable-multibyte # Groff does not like to be made in parallel. -make && -make install && +make +make install # Some documentation programs, such as xman, will not work properly without # the following symlinks: -ln -fsv eqn /usr/bin/geqn && +ln -fsv eqn /usr/bin/geqn ln -fsv tbl /usr/bin/gtbl -# Return last error exit $?