From cb85aa3d7d9e4d7ac3ad678ad0a0877f506e702f Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Thu, 16 Jun 2011 09:03:35 -0700 Subject: [PATCH] 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. --- debian/control | 1 + debian/rules | 8 ++++++++ 2 files changed, 9 insertions(+) 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: -- 2.39.5