ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
+ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS)))
+ conf_opt := --enable-maemo-launcher
+endif
config.status: configure
dh_testdir
# Add here commands to configure the package.
CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr --libexecdir=/usr/libexec
+ --prefix=/usr --libexecdir=/usr/libexec $(conf_opt)
build: build-stamp
dh_installdeb
dh_shlibdeps
dh_gencontrol
+ dh_maemolauncher
dh_md5sums
maemo-optify
dh_builddeb