[caffe] 01/01: rules: --list-missing and misc rules update

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sun Oct 2 12:30:38 UTC 2016


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

cdluminate-guest pushed a commit to branch master
in repository caffe.

commit 161e4fdcf2a429bae92bcb9100a3d9791f2e06ee
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sun Oct 2 12:30:18 2016 +0000

    rules: --list-missing and misc rules update
---
 debian/changelog |  1 +
 debian/rules     | 12 ++++++------
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4936c40..81d4443 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ caffe (1.0.0~rc3+20160930-ga7f950b-1) UNRELEASED; urgency=medium
   * Refresh symbols control file.
   * Update description for caffe-doc.
   * Override a false-positive lintian warning.
+  * Override dh_install with --list-missing.
 
  -- Zhou Mo <cdluminate at gmail.com>  Tue, 09 Aug 2016 14:52:30 +0000
 
diff --git a/debian/rules b/debian/rules
index f6dcea2..0f0b1ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export DEB_LDFLAGS_MAINT_APPEND  = -Wl,--as-needed
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 RULES         := debian/rules
-ORIG_SOURCE   := "https://github.com/BVLC/caffe/archive/rc3.tar.gz"
+ORIG_SOURCE   := "https://github.com/BVLC/caffe/archive/rc3.tar.gz" # FIXME
 CAFFE_SOVER   := 1.0.0-rc3
 BUILDDIR      := "caffe_cpu_build"
 
@@ -61,10 +61,7 @@ CONFFLAG_CPU = \
 		--buildsystem=cmake \
 		--with python3,bash-completion
 
-.PHONY: autogen
-autogen: $(AUTOGEN)
-
-override_dh_auto_configure: autogen
+override_dh_auto_configure: $(AUTOGEN)
 	dh_auto_configure --builddirectory=$(BUILDDIR) \
 		-- $(CONFFLAG_CPU)
 
@@ -100,6 +97,9 @@ override_dh_python3:
 	dh_python3 --requires=python/requirements.txt
 	dh_numpy3
 
+override_dh_install:
+	dh_install --list-missing
+
 override_dh_auto_install:
 	dh_auto_install --builddirectory=$(BUILDDIR) -- install
 
@@ -113,4 +113,4 @@ override_dh_fixperms:
 	chmod -x debian/tmp/usr/lib/python3/dist-packages/caffe/proto/__init__.py
 
 get-orig-source:
-	wget -c $(ORIG_SOURCE) -O caffe_1.0.0~rc3.orig.tar.gz
+	wget -c $(ORIG_SOURCE) -O caffe_1.0.0~rc3.orig.tar.gz # FIXME

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



More information about the debian-science-commits mailing list