From e0a94baf49c209a8bcd65f0cbd8a760148f9dec3 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/changelog | 2 ++ debian/control | 1 + debian/rules | 8 ++++++++ 3 files changed, 11 insertions(+) diff --git a/debian/changelog b/debian/changelog index 67c24d3ff..f9d4ca24d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ openafs (1.6.0~pre6-1) unstable; urgency=low - Document DNS SRV record usage in afsd man page. * Add a dummy debian/rules rule in the kernel module rules file to fix builds with make-kpkg. (Closes: #622260) + * Remove and symlink the copies of jquery generated by Doxygen and add a + Recommends on libjs-jquery for openafs-doc. -- Russ Allbery Thu, 16 Jun 2011 08:38:10 -0700 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 73f62006c..83622c0d2 100755 --- a/debian/rules +++ b/debian/rules @@ -226,6 +226,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