[khronos-opencl-clhpp] 11/13: deduplicate *.js

Andreas Beckmann anbe at moszumanska.debian.org
Thu Jan 25 04:35:43 UTC 2018


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

anbe pushed a commit to branch master
in repository khronos-opencl-clhpp.

commit b46fb7c094b9ea7e7d92db2f400ae89e409355c4
Author: Andreas Beckmann <anbe at debian.org>
Date:   Thu Jan 25 02:07:38 2018 +0100

    deduplicate *.js
---
 debian/changelog                                  | 1 +
 debian/control                                    | 3 ++-
 debian/opencl-clhpp-headers-doc.lintian-overrides | 2 --
 debian/rules                                      | 5 +++++
 4 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1496e84..4d4e15d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ khronos-opencl-clhpp (2.0.10+git12-g5dd8bb9-1) UNRELEASED; urgency=medium
   * Set Rules-Requires-Root: no.
   * Add myself to Uploaders.
   * Switch Vcs-* URLs to salsa.debian.org.
+  * Deduplicate *.js in the documentation.
 
  -- Andreas Beckmann <anbe at debian.org>  Thu, 25 Jan 2018 00:53:08 +0100
 
diff --git a/debian/control b/debian/control
index 95e0e2a..25942ad 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 11~),
                cmake,
                python,
                ocl-icd-opencl-dev,
-               doxygen
+               doxygen,
+               hardlink,
 Rules-Requires-Root: no
 Standards-Version: 4.1.3
 Homepage: https://github.com/KhronosGroup/OpenCL-CLHPP
diff --git a/debian/opencl-clhpp-headers-doc.lintian-overrides b/debian/opencl-clhpp-headers-doc.lintian-overrides
deleted file mode 100644
index 72869a3..0000000
--- a/debian/opencl-clhpp-headers-doc.lintian-overrides
+++ /dev/null
@@ -1,2 +0,0 @@
-# This is a doxygen file
-opencl-clhpp-headers-doc: embedded-javascript-library usr/share/doc/opencl-clhpp-headers/html/jquery.js please use libjs-jquery
diff --git a/debian/rules b/debian/rules
index 08aefe9..51f30f7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,3 +34,8 @@ override_dh_auto_test:
 override_dh_auto_clean:
 	$(MAKE) -C debian/t clean
 	dh_auto_clean
+
+override_dh_installdocs:
+	dh_installdocs
+	# deduplicate *.js
+	hardlink -t -v debian/opencl-clhpp-headers-doc/usr/share/doc/opencl-clhpp-headers/html/search

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/khronos-opencl-clhpp.git



More information about the Pkg-opencl-commits mailing list