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
27 # libtoolize --automake
28 # aclocal-1.7 || aclocal
31 # automake-1.7 --add-missing --foreign || automake --add-missing> --foreign
37 build-stamp: config.status
45 [ ! -f Makefile ] || $(MAKE) distclean
46 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
47 cp -f /usr/share/misc/config.sub config.sub
49 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
50 cp -f /usr/share/misc/config.guess config.guess
52 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
60 mkdir -p $(CURDIR)/debian/tmp/etc/systemui/
61 cp $(CURDIR)/etc/systemui/*.xml $(CURDIR)/debian/tmp/etc/systemui/
63 binary-indep: build install
65 binary-arch: build install
70 dh_install -v --sourcedir=debian/tmp
72 dh_strip --dbg-package=cell-modem-ui
82 binary: binary-indep binary-arch
83 .PHONY: build clean binary-indep binary-arch binary install