[boost-numeric-bindings] 08/09: debian/rules: completely replace.

Stephen Sinclair sinclairs-guest at moszumanska.debian.org
Tue Nov 7 22:08:15 UTC 2017


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

sinclairs-guest pushed a commit to branch master
in repository boost-numeric-bindings.

commit 4e2aaf378b6bfa559db57553e2d2e37380317e12
Author: Stephen Sinclair <radarsat1 at gmail.com>
Date:   Tue Nov 7 17:31:39 2017 -0300

    debian/rules: completely replace.
---
 debian/install |  1 +
 debian/rules   | 59 ++++++----------------------------------------------------
 2 files changed, 7 insertions(+), 53 deletions(-)

diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..d579dbe
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+boost
diff --git a/debian/rules b/debian/rules
index 00a9fb5..a2f1e40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,59 +3,12 @@
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-configure:
-	./configure --prefix=$(CURDIR)/debian/`dh_listpackages`/usr
+export BOOST_ROOT=$(PWD)
 
-build: configure
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/architecture.mk
 
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f Makefile
-	dh_clean
+%:
+	dh $@
 
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install
-
-# Build architecture-independent files here.
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installexamples
-#	dh_installmenu
-#	dh_installdebconf
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installcatalogs
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-#	dh_installwm
-#	dh_installudev
-#	dh_lintian
-#	dh_bugfiles
-#	dh_undocumented
-	dh_installman
-	dh_link
-	dh_compress
-	dh_fixperms
-#	dh_perl
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
-
-binary: binary-indep binary-arch
-.PHONY: configure build clean binary-indep binary-arch binary install

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



More information about the debian-science-commits mailing list