projects
/
python-pysam.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21aac6c
)
Use pre-defined variables from dpkg rather than manually scraping changelog
author
Afif Elghraoui
<afif@ghraoui.name>
Thu, 12 Nov 2015 07:22:22 +0000
(23:22 -0800)
committer
Afif Elghraoui
<afif@ghraoui.name>
Thu, 12 Nov 2015 07:22:33 +0000
(23:22 -0800)
debian/rules
patch
|
blob
|
history
diff --git
a/debian/rules
b/debian/rules
index 9b8d5392a8d3c466abf4e6be68b1fc407831091a..d3ac32d9efc480bf1da81bd7f0ad2d65d646c09b 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,10
+1,12
@@
#!/usr/bin/make -f
+
+include /usr/share/dpkg/default.mk
+
export PYBUILD_NAME=pysam
-DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
-TESTPKG := $(DEBPKGNAME)-tests
+TESTPKG := $(DEB_SOURCE)-tests
-HTSLIBDIR := /usr/lib/$(
shell dpkg-architecture -qDEB_HOST_GNU_TYPE
)
+HTSLIBDIR := /usr/lib/$(
DEB_HOST_MULTIARCH
)
export HTSLIB_LIBRARY_DIR=$(HTSLIBDIR)
export HTSLIB_INCLUDE_DIR=/usr/include