- Timestamp:
- Feb 21, 2006, 12:22:37 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4e71b7e
- Parents:
- d3d48d51
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/untested/blfs-scripts/blfs-docbook-sgml.sh
rd3d48d51 r834dec0 2 2 3 3 ### 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) 4 7 5 8 cd ${SRC} … … 13 16 case ${DBK_SGML_VER} in 14 17 3.1 ) 15 unzip ${TARBALLS}/docbk -31.zip || barf18 unzip ${TARBALLS}/docbk31.zip || barf 16 19 sed -i -e '/ISO 8879/d' \ 17 20 -e "s|DTDDECL \"-//OASIS//DTD DocBook V${DBK_SGML_VER}//EN\"|SGMLDECL|g" \ … … 36 39 /etc/sgml/sgml-docbook.cat 37 40 41 VERS="4.4 4.3 4.2 4.1 4.0" 42 VERS=`echo ${VERS} | sed "s@${DBK_SGML_VER}.*@@g"` 43 44 catalog=/usr/share/sgml/docbook/sgml-dtd-${DBK_SGML_VER}/catalog 45 38 46 case ${DBK_SGML_VER} in 39 47 3.1 ) 40 48 # 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 -- 43 51 44 52 PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd" … … 47 55 EOF 48 56 ;; 49 4.3 ) 50 cat >> /usr/share/sgml/docbook/sgml-dtd-4.3/catalog << "EOF" 51 -- Begin Single Major Version catalog changes -- 57 4.* ) 52 58 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} 59 67 ;; 60 68 esac
Note:
See TracChangeset
for help on using the changeset viewer.