Changeset 834dec0


Ignore:
Timestamp:
Feb 21, 2006, 12:22:37 AM (14 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
4e71b7e
Parents:
d3d48d51
Message:

r598@server (orig r596): ryan | 2005-08-05 23:14:53 -0700
Fix so we can install v4.2 ( 4.3/4.4 dont support 4.2, 4.1 and 4.0 )


File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/untested/blfs-scripts/blfs-docbook-sgml.sh

    rd3d48d51 r834dec0  
    22
    33### docbook-sgml ###
     4
     5# TODO: need to install 4.4 (supporting 4.3) 4.2 (supporting 4.1 and 4.0)
     6#       and 3.1 (supporting 3.0)
    47
    58cd ${SRC}
     
    1316case ${DBK_SGML_VER} in
    1417   3.1 )
    15       unzip ${TARBALLS}/docbk-31.zip || barf
     18      unzip ${TARBALLS}/docbk31.zip || barf
    1619      sed -i -e '/ISO 8879/d' \
    1720             -e "s|DTDDECL \"-//OASIS//DTD DocBook V${DBK_SGML_VER}//EN\"|SGMLDECL|g" \
     
    3639    /etc/sgml/sgml-docbook.cat
    3740
     41VERS="4.4 4.3 4.2 4.1 4.0"
     42VERS=`echo ${VERS} | sed "s@${DBK_SGML_VER}.*@@g"`
     43
     44catalog=/usr/share/sgml/docbook/sgml-dtd-${DBK_SGML_VER}/catalog
     45
    3846case ${DBK_SGML_VER} in
    3947   3.1 )
    4048      #
    41       cat >> /usr/share/sgml/docbook/sgml-dtd-3.1/catalog << "EOF"
    42 -- Begin Single Major Version catalog changes --
     49      cat >> ${catalog} << "EOF"
     50  -- Begin Single Major Version catalog changes --
    4351
    4452PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
     
    4755EOF
    4856   ;;
    49    4.3 )
    50       cat >> /usr/share/sgml/docbook/sgml-dtd-4.3/catalog << "EOF"
    51 -- Begin Single Major Version catalog changes --
     57   4.* )
    5258
    53 PUBLIC "-//OASIS//DTD DocBook V4.2//EN" "docbook.dtd"
    54 PUBLIC "-//OASIS//DTD DocBook V4.1//EN" "docbook.dtd"
    55 PUBLIC "-//OASIS//DTD DocBook V4.0//EN" "docbook.dtd"
    56 
    57   -- End Single Major Version catalog changes --
    58 EOF
     59      echo "  -- Begin Single Major Version catalog changes --" >> ${catalog}
     60      echo "" >> ${catalog}
     61      for ver in ${VERS} ; do
     62         echo "PUBLIC \"-//OASIS//DTD DocBook V${ver}//EN\" \"docbook.dtd\"" \
     63            >> ${catalog}
     64      done
     65      echo "" >> ${catalog}
     66      echo "  -- End Single Major Version catalog changes --" >> ${catalog}
    5967   ;;
    6068esac
Note: See TracChangeset for help on using the changeset viewer.