Browse Source

d/mono: Added HTML documentation.

slackware-14.2
Damien Goutte-Gattat 13 years ago
parent
commit
2b8f008597
  1. 10
      d/mono/mono.SlackBuild

10
d/mono/mono.SlackBuild

@ -34,7 +34,7 @@ WGET=${WGET:-http://ftp.novell.com/pub/mono/sources/mono/$ARCHIVE}
# Build infos
NAMETGZ=${NAMETGZ:-mono}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
@ -125,6 +125,14 @@ install -m 644 \
mv $PKG/usr/share/libgc-mono $PKG/usr/doc/$NAME
mv $PKG/usr/share/jay $PKG/usr/doc/$NAME
# Build API documentation
# (warning, this may take a *long* time; this is not needed if you
# plan to use Monodoc--provided by the mono-utils package)
MONO_PATH=mcs/class/lib/net_2_0:mcs/class/lib/net_1_1 \
runtime/mono-wrapper mcs/tools/mdoc/mdoc.exe \
export-html -o $PKG/usr/doc/$NAME/html \
$(find . -type f -name 'index.xml' | sed 's,index.xml$,,')
# Copy slack-desc and doinst.sh files
mkdir -p $PKG/install
install -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save