Browse Source

docbook-xsl: create compat symlink for kdelibs

user/chris/test/early-mdev
Aldas Nabazas 14 years ago committed by Alejandro Mery
parent
commit
dff0a0453f
  1. 6
      textproc/docbook-xsl/docbook-xsl.conf

6
textproc/docbook-xsl/docbook-xsl.conf

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

Loading…
Cancel
Save