[polybori] 03/11: Delete most of old rules file.
Tobias Hansen
thansen at moszumanska.debian.org
Tue Feb 23 01:33:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository polybori.
commit aa1af32871f5c08b2d3decb6e8de2428d084ff7c
Author: Tobias Hansen <thansen at localhost.localdomain>
Date: Tue Feb 23 00:19:56 2016 +0000
Delete most of old rules file.
---
debian/rules | 59 +----------------------------------------------------------
1 file changed, 1 insertion(+), 58 deletions(-)
diff --git a/debian/rules b/debian/rules
index 4a616cd..85cbecd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,66 +4,9 @@
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-PYVERS=$(shell pyversions -vr)
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
-NUMJOBS=$(filter parallel=%,$(DEB_BUILD_OPTIONS))
-SCONSPARFLAGS=$(subst parallel=,-j, $(NUMJOBS))
-DESTDIR=debian/tmp/
%:
- dh $@ --with python2
+ dh $@ --parallel --with autoreconf python2
-
-build-python%: PYTHON=/usr/bin/python$*
-
-override_dh_auto_configure:
- cp debian/custom.py .
-
-build-python%:
- scons $(SCONSPARFLAGS) prepare-install prepare-devel \
- PYTHON=$(PYTHON) \
- DOCS=False HAVE_PYDOC=False
-
-override_dh_auto_build-arch: $(PYVERS:%=build-python%)
-
-install-python%: PYTHON=/usr/bin/python$*
-
-install-python%:
- scons $(SCONSPARFLAGS) install devel-install \
- PYTHON=$(PYTHON) \
- DOCS=False HAVE_PYDOC=False
-
-override_dh_auto_install-arch: $(PYVERS:%=install-python%)
-
-
-override_dh_auto_build-indep:
- scons $(SCONSPARFLAGS) docs
-
-override_dh_auto_install-indep:
- scons $(SCONSPARFLAGS) install-docs
-
-
-test-unittests:
- scons $(SCONSPARFLAGS) testsuite/unittests
-ifeq ($(DEB_HOST_ARCH_OS),hurd) # problems with rpath on hurd
- LD_LIBRARY_PATH=$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) testsuite/unittests
-else
- testsuite/unittests
-endif
-
-test-python%:
- python$* ipbori/ipbori -t
-
-override_dh_auto_test: test-unittests $(PYVERS:%=test-python%)
-
-# Manually cleaning, since upstream is broken (Called before patches apply, too.)
-override_dh_auto_clean:
- scons . --keep-going --clean || true
- dh_auto_clean
- rm -f custom.py
-
-PBORIVER=0.8
-PBORIREL=3
override_dh_strip:
dh_strip -plibpolybori-${PBORIVER}-${PBORIREL} \
--dbg-package=libpolybori-${PBORIVER}-${PBORIREL}-dbg
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/polybori.git
More information about the debian-science-commits
mailing list