[slepc] 05/06: Build doc package from files installed for the debug package.

Drew Parsons dparsons at moszumanska.debian.org
Mon Apr 4 13:36:08 UTC 2016


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

dparsons pushed a commit to tag debian/3.6.3.dfsg1-1
in repository slepc.

commit b92253026ba328e122d26233c594a04e8be89d4b
Author: Drew Parsons <dparsons at debian.org>
Date:   Mon Apr 4 16:10:25 2016 +0800

    Build doc package from files installed for the debug package.
    
    The architecture-independent doc package is built using doc (html)
    files taken from the architecture-dependent upstream installation of
    the real-debug package.  So the doc package needs to be specified
    alongside the debug package in debhelper commands.
    
    Closes: #817167.
---
 debian/changelog | 2 ++
 debian/rules     | 7 ++++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9715813..89e653c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ slepc (3.6.3.dfsg1-1) unstable; urgency=medium
   * New upstream version.
   * Update debian/watch to include filename mangling.
   * Standards-Version: 3.9.7
+  * Build doc package from files installed for the debug package.
+    Closes: #817167.
 
  -- Drew Parsons <dparsons at debian.org>  Mon, 04 Apr 2016 15:42:12 +0800
 
diff --git a/debian/rules b/debian/rules
index 5f0f04c..4b15fa0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -103,7 +103,7 @@ export SLEPC_DIR=$(CURDIR)
 
 override_dh_auto_clean:
 	if [ -d $(SLEPC_DEBUG_BUILD_DIR) ]; then \
-	  dh_auto_clean -p$(SLEPC_DEBUG_PACKAGE) -- \
+	  dh_auto_clean -p$(SLEPC_DEBUG_PACKAGE) -p$(SLEPC_DOC_PACKAGE) -- \
 	    SLEPC_DIR=$(CURDIR) SLEPC_ARCH=$(SLEPC_DEBUG_BUILD_DIR); \
 	fi
 	if [ -d $(SLEPC_BUILD_DIR) ]; then \
@@ -164,9 +164,10 @@ override_dh_auto_install:
           ./configure --prefix=$(SLEPC_DIR_DEBUG_PREFIX)  \
           --with-arpack=1 --with-arpack-dir=/usr/lib/debug/usr/lib --with-arpack-flags=-lparpack,-larpack \
           --shared-library-extension=_real
-	dh_auto_build -p$(SLEPC_DEBUG_PACKAGE) -- \
+	dh_auto_build -p$(SLEPC_DEBUG_PACKAGE) -p$(SLEPC_DOC_PACKAGE) -- \
           PETSC_DIR=$(PETSC_DIR_REAL_DEBUG)
-	dh_auto_install -p$(SLEPC_DEBUG_PACKAGE) --destdir=$(PACKAGE_DEBUG_INSTALL_DIR) --  \
+	dh_auto_install -p$(SLEPC_DEBUG_PACKAGE) -p$(SLEPC_DOC_PACKAGE) \
+          --destdir=$(PACKAGE_DEBUG_INSTALL_DIR) --  \
           SLEPC_INSTALLDIR=$(SLEPC_DIR_DEBUG_PREFIX) \
           SLEPC_DESTDIR=$(PACKAGE_DEBUG_INSTALL_DIR)  \
           PETSC_DIR=$(PETSC_DIR_REAL_DEBUG)

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



More information about the debian-science-commits mailing list