|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
|
# |
|
|
|
|
# Filename: package/.../docbook-xsl/docbook-xsl.conf |
|
|
|
|
# Copyright (C) 2007 The OpenSDE Project |
|
|
|
|
# Copyright (C) 2007 - 2010 The OpenSDE Project |
|
|
|
|
# |
|
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
|
# |
|
|
|
@ -16,6 +16,7 @@ makeopt=
|
|
|
|
|
makeinstopt= |
|
|
|
|
|
|
|
|
|
datadir="/usr/share/xml/docbook/xsl-$ver" |
|
|
|
|
symlink="/usr/share/xml/docbook/xsl-stylesheets" |
|
|
|
|
|
|
|
|
|
hook_add postmake 5 'docbook_install' |
|
|
|
|
|
|
|
|
@ -23,6 +24,7 @@ docbook_install() {
|
|
|
|
|
local catalog=$root/etc/xml/docbook-xsl |
|
|
|
|
local URI=http://docbook.sourceforge.net/release/xsl |
|
|
|
|
|
|
|
|
|
rm -rf "$root$symlink" |
|
|
|
|
rm -rf "$root$datadir" |
|
|
|
|
mkdir -p "$root$datadir" |
|
|
|
|
|
|
|
|
@ -38,4 +40,6 @@ docbook_install() {
|
|
|
|
|
--add 'rewriteSystem' "$URI/$x/" "$datadir/" \ |
|
|
|
|
"$catalog" |
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
ln -s "$root$datadir" "$root$symlink" |
|
|
|
|
} |
|
|
|
|