[cpp-sp] 28/42: Replace the Doxygen copy of jQuery with the packaged version
Scott Cantor
cantor.2 at osu.edu
Thu Dec 20 19:44:45 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/2.4.2+dfsg-1
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=ced5674d049d9aaf7111cabcce496fce8fba45cd
commit ced5674d049d9aaf7111cabcce496fce8fba45cd
Author: Russ Allbery <rra at debian.org>
AuthorDate: Wed Apr 6 21:38:18 2011 -0700
Replace the Doxygen copy of jQuery with the packaged version
* Replace the version of jQuery installed by Doxygen in the
documentation package with a symlink to the version supplied by the
Debian package and add a dependency.
---
debian/changelog | 3 +++
debian/control | 2 +-
debian/rules | 7 +++++++
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 1dfab31..ffb2631 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,9 @@ shibboleth-sp2 (2.4.2+dfsg-1) UNRELEASED; urgency=low
* Add build dependency on pkg-config, which upstream now uses to find
the SSL libraries.
* Add build dependency on graphviz for better API documentation.
+ * Replace the version of jQuery installed by Doxygen in the
+ documentation package with a symlink to the version supplied by the
+ Debian package and add a dependency.
* Update to debhelper compatibility level V8.
- Use debhelper rule minimization.
* Update debian/copyright to the current DEP-5 specification.
diff --git a/debian/control b/debian/control
index afa8d5b..207d17c 100644
--- a/debian/control
+++ b/debian/control
@@ -68,7 +68,7 @@ Description: Federated web single sign-on system (development)
Package: libshibsp-doc
Section: doc
Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libjs-jquery
Description: Federated web single sign-on system (API docs)
The Shibboleth System is a standards based software package for web
single sign-on across or within organizational boundaries. It supports
diff --git a/debian/rules b/debian/rules
index 2b53392..ebdc35b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+DOCS = debian/libshibsp-doc/usr/share/doc/libshibsp-doc
+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
DEBUG = --enable-debug
else
@@ -76,6 +78,11 @@ override_dh_install:
override_dh_installdocs:
dh_installdocs -A doc/NOTICE.txt
+ set -e; if [ -d "$(DOCS)" ] ; then \
+ rm $(DOCS)/html/jquery.js ; \
+ ln -s /usr/share/javascript/jquery/jquery.min.js \
+ $(DOCS)/html/jquery.js ; \
+ fi
override_dh_installinit:
dh_installinit --name=shibd
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list