5
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
6
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
10
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
16
configure: configure-stamp
21
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr
26
build-stamp: configure-stamp
37
rm -f build-stamp configure-stamp
41
rm -f Makefile.in src/Makefile.in test/Makefile.in
42
rm -f aclocal.m4 depcomp install-sh missing
43
rm -f config.guess config.sub configure
53
make install prefix=$(CURDIR)/debian/tmp/usr
55
binary-indep: build install
56
binary-arch: build install
74
binary: binary-indep binary-arch
75
.PHONY: build clean binary-indep binary-arch binary install configure