X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=debian%2Frules;h=34a45e8a47dd3452942068f68ad390bbc61cfc0c;hp=ed4407d551a3e1d9fbc8284d3b24cf47ecdc741d;hb=81ed72276554cf3d09296bc11824fedae45217ff;hpb=a5a4d0bc2cd72c80283137bd2d0c6ecc0f334b95 diff --git a/debian/rules b/debian/rules index ed4407d..34a45e8 100755 --- a/debian/rules +++ b/debian/rules @@ -25,10 +25,12 @@ ifneq (,$(findstring thumb,$(DEB_BUILD_OPTIONS))) CFLAGS += -mthumb endif -# maemo-launcher support is not working properly yet, so leave it disabled -DEB_BUILD_OPTIONS := $(DEB_BUILD_OPTIONS),nolauncher ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS))) - conf_opt := --enable-maemo-launcher + conf_opt = --enable-maemo-launcher +endif + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + conf_opt += --enable-debug endif config.status: configure @@ -59,7 +61,9 @@ clean: rm -f build-stamp # commands to clean up after the build process. - -$(MAKE) distclean +# -$(MAKE) distclean + [ ! -f Makefile ] || $(MAKE) distclean + ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif @@ -118,6 +122,7 @@ binary-arch: build install # Not a requirement by now, so don't fail if it's not installed which dh_maemolauncher && dh_maemolauncher usr/bin/modest || true dh_gencontrol +# sh debian/scripts/renew_control_file.sh dh_md5sums dh_builddeb