Force examples to be installed in libsdl2-doc

parent 736780f0
......@@ -6,6 +6,7 @@ libsdl2 (2.0.8+dfsg1-5) UNRELEASED; urgency=medium
SOURCE_DATE_EPOCH, instead of getting them through shell invocations.
* d/watch: Switch to version=4
* Switch to debhelper compat level v11
- Force examples to be installed in libsdl2-doc
* d/patches:
- add fix-cross-building-907711.patch to fix cross-building by using
the right pkg-config depending on the architecture (Closes: #907711)
......
......@@ -58,6 +58,12 @@ override_dh_auto_build-indep:
find output -name "jquery.js" -delete
dh_link -plibsdl2-doc usr/share/javascript/jquery/jquery.js usr/share/doc/libsdl2-doc/html/jquery.js
# Force examples to be installed in libsdl2-doc, it does not happen with compat
# level v11 despite having the file debian/libsdl2-doc.examples (it gets
# installed as part of libsdl2-dev instead)
override_dh_installexamples-indep:
dh_installexamples -i --doc-main-package=libsdl2-doc
override_dh_auto_build-arch:
dh_auto_build -- V=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment