docbook-xml-entities: create entity symlinks

This commit is contained in:
Johannes Winkelmann 2006-06-10 15:05:49 +00:00
parent e96ebbb68e
commit 71306e719b
2 changed files with 43 additions and 24 deletions

View File

@ -30,3 +30,22 @@ drwxr-xr-x root/root usr/share/xml/ent/docbook/0.3/
-rw-r--r-- root/root usr/share/xml/ent/docbook/0.3/iso-num.ent
-rw-r--r-- root/root usr/share/xml/ent/docbook/0.3/iso-pub.ent
-rw-r--r-- root/root usr/share/xml/ent/docbook/0.3/iso-tech.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isoamsa.ent -> iso-amsa.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isoamsb.ent -> iso-amsb.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isoamsc.ent -> iso-amsc.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isoamsn.ent -> iso-amsn.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isoamso.ent -> iso-amso.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isoamsr.ent -> iso-amsr.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isobox.ent -> iso-box.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isocyr1.ent -> iso-cyr1.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isocyr2.ent -> iso-cyr2.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isodia.ent -> iso-dia.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isogrk1.ent -> iso-grk1.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isogrk2.ent -> iso-grk2.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isogrk3.ent -> iso-grk3.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isogrk4.ent -> iso-grk4.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isolat1.ent -> iso-lat1.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isolat2.ent -> iso-lat2.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isonum.ent -> iso-num.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isopub.ent -> iso-pub.ent
lrwxrwxrwx root/root usr/share/xml/ent/docbook/0.3/isotech.ent -> iso-tech.ent

View File

@ -5,7 +5,7 @@
name=docbook-xml-entities
version=0.3
release=3
release=4
source=(http://www.oasis-open.org/docbook/xmlcharent/$version/xmlcharent-$version.zip)
build() {
@ -44,30 +44,30 @@ build() {
"$ident_prefix Added Math Symbols: Relations//EN"
"$ident_prefix Non-Russian Cyrillic//EN")
ENT_FILE=($ENT_PATH/iso-pub.ent
$ENT_PATH/iso-grk1.ent
$ENT_PATH/iso-box.ent
$ENT_PATH/iso-grk3.ent
$ENT_PATH/iso-amsn.ent
$ENT_PATH/iso-num.ent
$ENT_PATH/iso-grk4.ent
$ENT_PATH/iso-dia.ent
$ENT_PATH/iso-grk2.ent
$ENT_PATH/iso-amsa.ent
$ENT_PATH/iso-amso.ent
$ENT_PATH/iso-cyr1.ent
$ENT_PATH/iso-tech.ent
$ENT_PATH/iso-amsc.ent
$ENT_PATH/iso-lat1.ent
$ENT_PATH/iso-amsb.ent
$ENT_PATH/iso-lat2.ent
$ENT_PATH/iso-amsr.ent
$ENT_PATH/iso-cyr2.ent)
ENT_FILE=(iso-pub.ent
iso-grk1.ent
iso-box.ent
iso-grk3.ent
iso-amsn.ent
iso-num.ent
iso-grk4.ent
iso-dia.ent
iso-grk2.ent
iso-amsa.ent
iso-amso.ent
iso-cyr1.ent
iso-tech.ent
iso-amsc.ent
iso-lat1.ent
iso-amsb.ent
iso-lat2.ent
iso-amsr.ent
iso-cyr2.ent)
i=0
while test $i -lt 19; do
for f in ${ENT_FILE[*]}; do
xmlcatalog --noout --add "public" \
"${ENT_IDENT[$i]}" "file://${ENT_FILE[$i]}" $PKG$ENT_CAT
i=$(($i + 1))
"$ENT_PATH/$f" "file://$ENT_PATH/$f" $PKG$ENT_CAT
(cd $PKG/$ENT_PATH; ln -s $f ${f/-})
done
}