+include /usr/share/cdbs/1/class/python-distutils.mk
+
+PYVERS = $(shell pyversions -vd)
+
+cdbs_python_current_binary := $(shell pyversions -d)
+
+DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0 --install-layout=deb
+
+install/drlaunch::
+ dh_install drlaunch.py usr/lib/hildon-desktop/
+ dh_install misc/drlaunch.desktop usr/share/applications/hildon-home/
+
+python-build-stamp-%:
+ifeq (all, $(cdbs_python_module_arch))
+ cd $(DEB_SRCDIR) && $(cdbs_python_current_binary) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+else
+ cd $(DEB_SRCDIR) && $(cdbs_python_current_binary) $(DEB_PYTHON_SETUP_CMD) build $(DEB_PYTHON_BUILD_ARGS)
+endif # archall detection
+ touch $@