1,12 → 1,19 |
#!/usr/bin/make -f |
|
export LIBTOOLIZE = libtoolize --install |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
|
buildflags = --build=$(DEB_BUILD_GNU_TYPE) |
ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) |
buildflags += --host=$(DEB_HOST_GNU_TYPE) |
endif |
|
configure: configure-stamp |
configure-stamp: |
dh_testdir |
[ -f debian/autoreconf.before ] || dh_autoreconf |
./configure \ |
./configure $(buildflags) \ |
--prefix=/usr \ |
--without-zlib \ |
--mandir=\$${prefix}/share/man \ |