5 export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
6 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
8 confflags += --host $(DEB_BUILD_GNU_TYPE) --build $(DEB_HOST_GNU_TYPE)
13 cp -f /usr/share/misc/config.sub config.sub
14 cp -f /usr/share/misc/config.guess config.guess
15 ./configure $(confflags) --prefix=/usr \
16 --mandir=\$${prefix}/share/man \
17 --infodir=\$${prefix}/share/info
24 rm -f build-stamp config.sub config.guess
26 #Really clean the po directory
34 $(MAKE) DESTDIR=$(CURDIR)/debian/ap-utils install
36 binary-indep: build install
38 binary-arch: build install
41 dh_installchangelogs ChangeLog
63 binary: binary-indep binary-arch
64 .PHONY: build clean binary-indep binary-arch binary install