#! /bin/sh

PKGNAME=w3-recs-2003

if [ "$1" = configure ]; then
  if command -v install-docs >/dev/null 2>&1; then
  	for name in dom2-html svg11 svgmobile \
		    soap12-part0 soap12-part1 soap12-part2 soap12-testcollection \
                    xptr-element xptr-framework xptr-xmlns
	do
           install-docs -i /usr/share/doc-base/w3rec-$name
	done
  fi
fi

if [ -x /usr/sbin/dhelp_parse ]; then
  mv /usr/share/doc/$PKGNAME/RECS/dhelp /usr/share/doc/$PKGNAME/RECS/.dhelp
  /usr/sbin/dhelp_parse -a /usr/share/doc/$PKGNAME/RECS
else
  rm -f /usr/share/doc/$PKGNAME/RECS/dhelp
fi

#DEBHELPER#
