Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
src_base=$(basename "$PWD")
|
||||
version=${src_base##*-}
|
||||
docbook_root="$DESTDIR/usr/share/xml/docbook"
|
||||
style_root="$docbook_root/xsl-stylesheets-nons-$version"
|
||||
|
||||
install -dm755 "$style_root"
|
||||
|
||||
for path in \
|
||||
VERSION \
|
||||
assembly \
|
||||
common \
|
||||
eclipse \
|
||||
epub \
|
||||
epub3 \
|
||||
extensions \
|
||||
fo \
|
||||
highlighting \
|
||||
html \
|
||||
htmlhelp \
|
||||
images \
|
||||
javahelp \
|
||||
lib \
|
||||
manpages \
|
||||
params \
|
||||
profiling \
|
||||
roundtrip \
|
||||
slides \
|
||||
template \
|
||||
tests \
|
||||
tools \
|
||||
webhelp \
|
||||
website \
|
||||
xhtml \
|
||||
xhtml-1_1 \
|
||||
xhtml5
|
||||
do
|
||||
cp -a "$path" "$style_root/"
|
||||
done
|
||||
|
||||
ln -sf VERSION "$style_root/VERSION.xsl"
|
||||
ln -sfn "xsl-stylesheets-nons-$version" "$docbook_root/xsl-stylesheets-nons"
|
||||
Reference in New Issue
Block a user