6 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
7 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
11 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
16 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
20 config.status: configure
22 CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --exec-prefix=/usr
24 configure: configure-stamp
28 aclocal-1.7 || aclocal
31 automake-1.7 --add-missing --foreign || automake --add-missing> --foreign
37 build-stamp: config.status
46 [ ! -f Makefile ] || $(MAKE) distclean
47 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
48 cp -f /usr/share/misc/config.sub config.sub
50 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
51 cp -f /usr/share/misc/config.guess config.guess
53 rm -f configure COPYING INSTALL Makefile.in aclocal.m4 configure-stamp build-stamp config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs config.h.in
61 $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
64 binary-indep: build install
66 binary-arch: build install
71 dh_install -v --sourcedir=debian/tmp
73 dh_strip --dbg-package=load-applet
83 binary: binary-indep binary-arch
84 .PHONY: build clean binary-indep binary-arch binary install