-# ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS)))
-# LAUNCHER = yes
-# LAUNCHER_DEPENDS=-Vlauncher:Depends="maemo-launcher"
-# conf_opt := --enable-maemo-launcher
-# endif
+#DEB_BUILD_OPTIONS := $(DEB_BUILD_OPTIONS),nolauncher
+ifeq (,$(findstring nolauncher,$(DEB_BUILD_OPTIONS)))
+ conf_opt = --enable-maemo-launcher
+endif
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ conf_opt += --enable-debug
+endif