| 1 |
#! /usr/bin/make -f |
| 2 |
|
| 3 |
include /usr/share/dpkg/architecture.mk |
| 4 |
include /usr/share/dpkg/pkg-info.mk |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --builddirectory=debian/build |
| 8 |
|
| 9 |
export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow,+pie |
| 10 |
|
| 11 |
override_dh_autoreconf: |
| 12 |
dh_autoreconf ./bootstrap -- \ |
| 13 |
--gnulib-srcdir=/usr/share/gnulib --no-git --skip-po |
| 14 |
|
| 15 |
execute_after_dh_auto_install: |
| 16 |
rm -f debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libpipeline.la |
| 17 |
|
| 18 |
override_dh_installdocs: |
| 19 |
dh_installdocs --link-doc=libpipeline1 |
| 20 |
|
| 21 |
VERSION_MINOR = $(shell echo "$(DEB_VERSION_UPSTREAM)" | cut -d. -f1,2).0 |
| 22 |
|
| 23 |
override_dh_makeshlibs: |
| 24 |
dh_makeshlibs -V'libpipeline1 (>= $(VERSION_MINOR))' -- -c4 |