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 # FOR AUTOCONF 2.13 ONLY
9 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
10 confflags += $(DEB_HOST_GNU_TYPE)
12 confflags += --host $(DEB_BUILD_GNU_TYPE) --build $(DEB_HOST_GNU_TYPE)
18 ./configure $(confflags) --prefix=/usr \
19 --mandir=\$${prefix}/share/man \
20 --infodir=\$${prefix}/share/info
28 -test -r /usr/share/misc/config.sub && \
29 cp -f /usr/share/misc/config.sub config.sub
30 -test -r /usr/share/misc/config.guess && \
31 cp -f /usr/share/misc/config.guess config.guess
33 #Really clean the po directory
41 $(MAKE) DESTDIR=$(CURDIR)/debian/ap-utils install
43 binary-indep: build install
45 binary-arch: build install
48 dh_installchangelogs ChangeLog
70 binary: binary-indep binary-arch
71 .PHONY: build clean binary-indep binary-arch binary install