]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove and symlink the Doxygen-generated jquery copies
authorRuss Allbery <rra@debian.org>
Thu, 16 Jun 2011 16:03:35 +0000 (09:03 -0700)
committerRuss Allbery <rra@debian.org>
Thu, 16 Jun 2011 16:03:35 +0000 (09:03 -0700)
* Remove and symlink the copies of jquery generated by Doxygen and add a
  Recommends on libjs-jquery for openafs-doc.

debian/changelog
debian/control
debian/rules

index 67c24d3ff0a6a9396239dd984504b0d49a6cd6a5..f9d4ca24ded1d75dc5424eb642da92120011f657 100644 (file)
@@ -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 <rra@debian.org>  Thu, 16 Jun 2011 08:38:10 -0700
 
index b9ef4aaf28970e9ad9c14fbd095863227ec8da93..7d6963a73490c243e8faaa3b136b50643b626f31 100644 (file)
@@ -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,
index 73f62006c843cd944c49c19b315832725f565060..83622c0d2806772b3a7ebba8568791efccfa4e99 100755 (executable)
@@ -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: