[dune-common] 01/01: libdune-common-doc: add Built-Using: doxygen (for jquery.js)

Ansgar Burchardt ansgar at moszumanska.debian.org
Mon Aug 7 13:05:29 UTC 2017


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

ansgar pushed a commit to branch master
in repository dune-common.

commit d75a54000b33e2eb10ecb466ff996b7f471f07b3
Author: Ansgar Burchardt <ansgar at debian.org>
Date:   Mon Aug 7 15:03:22 2017 +0200

    libdune-common-doc: add Built-Using: doxygen (for jquery.js)
    
    doxygen embeds a copy of jquery.js in the generated documentation.
---
 debian/control        | 1 +
 debian/dune-debian.mk | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 6452a46..4ca408e 100644
--- a/debian/control
+++ b/debian/control
@@ -35,6 +35,7 @@ Section: doc
 Architecture: all
 Multi-Arch: foreign
 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Built-Using: ${dune:doc:Built-Using}
 Description: toolbox for solving PDEs -- basic classes (documentation)
  DUNE, the Distributed and Unified Numerics Environment is a modular toolbox
  for solving partial differential equations (PDEs) with grid-based methods.
diff --git a/debian/dune-debian.mk b/debian/dune-debian.mk
index b8ed09a..2cd62f0 100644
--- a/debian/dune-debian.mk
+++ b/debian/dune-debian.mk
@@ -6,6 +6,9 @@ DUNE_DEBIAN_CMAKE_FLAGS = -DBUILD_SHARED_LIBS=1
 
 DUNE_DEBIAN_SHLIB = $(subst ~,.,lib$(DEB_SOURCE)-$(DEB_VERSION_UPSTREAM))
 
+DUNE_DOC_BUILT_USING_PACKAGES = doxygen
+DUNE_DOC_BUILT_USING = $(shell dpkg-query -f '$${source:Package} (= $${source:Version})' -W $(DUNE_DOC_BUILT_USING_PACKAGES))
+
 override_dh_auto_configure:
 	dh_auto_configure -- $(DUNE_DEBIAN_CMAKE_FLAGS)
 
@@ -21,7 +24,7 @@ override_dh_auto_test:
 	cd build; PATH=$(CURDIR)/debian/tmp-test:$$PATH $(DUNE_CTEST)
 
 override_dh_gencontrol:
-	dh_gencontrol -- -Vdune:shared-library='$(DUNE_DEBIAN_SHLIB)'
+	dh_gencontrol -- -Vdune:shared-library='$(DUNE_DEBIAN_SHLIB)' -Vdune:doc:Built-Using='$(DUNE_DOC_BUILT_USING)'
 
 override_dh_makeshlibs:
 	dh_makeshlibs --version-info='$(DUNE_DEBIAN_SHLIB)'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/dune-common.git



More information about the debian-science-commits mailing list