From: Russ Allbery Date: Thu, 16 Jun 2011 16:03:35 +0000 (-0700) Subject: Remove and symlink the Doxygen-generated jquery copies X-Git-Tag: debian/1.6.0.pre7-1~2 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=cb85aa3d7d9e4d7ac3ad678ad0a0877f506e702f;p=packages%2Fo%2Fopenafs.git Remove and symlink the Doxygen-generated jquery copies * Remove and symlink the copies of jquery generated by Doxygen and add a Recommends on libjs-jquery for openafs-doc. --- diff --git a/debian/control b/debian/control index b9ef4aaf2..7d6963a73 100644 --- a/debian/control +++ b/debian/control @@ -93,6 +93,7 @@ Package: openafs-doc Section: doc Architecture: all Depends: ${misc:Depends} +Recommends: libjs-jquery Description: AFS distributed filesystem documentation AFS is a distributed filesystem allowing cross-platform sharing of files among multiple computers. Facilities are provided for access control, diff --git a/debian/rules b/debian/rules index 4beacc7c1..5232c05ab 100755 --- a/debian/rules +++ b/debian/rules @@ -229,6 +229,14 @@ override_dh_installinit: override_dh_installdocs: dh_installdocs $(DOC_PACKAGES) --link-doc=openafs-client dh_installdocs --remaining-packages + set -e; if [ -d "$(DOCS)" ] ; then \ + for d in arch-overview bos-spec fs-cm-spec rx-spec \ + vldb-vol-spec ; do \ + rm $(DOCS)/html/$$d/jquery.js ; \ + ln -s /usr/share/javascript/jquery/jquery.min.js \ + $(DOCS)/html/$$d/jquery.js ; \ + done ; \ + fi # Install the upstream NEWS file as the upstream changelog. override_dh_installchangelogs: