[Pkg-sdl-commits] [libsdl2] 08/08: Add depends from -doc on libjs-jquery, use symlink instead of embedded copy

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Sat Mar 12 02:19:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

mafm pushed a commit to branch master
in repository libsdl2.

commit 176431cc04912eeb00db4db8ef44bb1fe40348a5
Author: Manuel A. Fernandez Montecelo <mafm at debian.org>
Date:   Sat Mar 12 02:04:56 2016 +0000

    Add depends from -doc on libjs-jquery, use symlink instead of embedded copy
---
 debian/changelog | 1 +
 debian/control   | 3 ++-
 debian/rules     | 3 +++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b1bf5a1..4804456 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ libsdl2 (2.0.4+dfsg2-1) UNRELEASED; urgency=medium
   * Fixes for reproducible builds:
     - timestamps_in_tarball, use --clamp-mtime with changelog as date
     - timestamps_in_gzip_headers, export GZIP="-9n"
+  * Add depends from -doc on libjs-jquery, use symlink instead of embedded copy
 
   [ Gianfranco Costamagna ]
   * Fix insecure VCS fields.
diff --git a/debian/control b/debian/control
index 1fb4707..05dea40 100644
--- a/debian/control
+++ b/debian/control
@@ -103,7 +103,8 @@ Package: libsdl2-doc
 Section: doc
 Architecture: all
 Depends:
- ${misc:Depends}
+ ${misc:Depends},
+ libjs-jquery
 Breaks:
  libsdl2-dev (<< 2.0.4+dfsg-1)
 Replaces:
diff --git a/debian/rules b/debian/rules
index 8151c2d..b41b20d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -77,6 +77,9 @@ override_dh_auto_build-indep:
 	find output -name "*.md5" -delete
 	find output -type d -empty -delete
 
+	find output -name "jquery.js" -delete
+	dh_link -plibsdl2-doc usr/share/javascript/jquery/jquery.js usr/share/doc/libsdl2-doc/html/jquery.js
+
 override_dh_auto_clean-indep:
 	dh_auto_clean
 	rm -f debian/examples.tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/libsdl2.git



More information about the pkg-sdl-commits mailing list