| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 6 |
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) |
| 7 |
|
| 8 |
export ACLOCAL_M4=. |
| 9 |
|
| 10 |
%: |
| 11 |
dh $@ |
| 12 |
|
| 13 |
override_dh_auto_configure: |
| 14 |
dh_auto_configure -- --disable-executable --enable-shared --disable-static CPPFLAGS="$(CPPFLAGS) -D_LARGEFILE_SOURCE" |
| 15 |
|
| 16 |
override_dh_auto_install: |
| 17 |
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install |
| 18 |
rm -f debian/tmp/usr/lib/*/*.la |
| 19 |
rm -fr debian/tmp/usr/share/doc |
| 20 |
|
| 21 |
override_dh_installchangelogs: |
| 22 |
dh_installchangelogs NEWS |