# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-# This is the debhelper compatibility version to use.
-export DH_COMPAT=3
-
-PYTHON=python2.3
+PYTHON=python
PACKAGE=offlineimap
# Add here commands to compile the package.
$(PYTHON) setup.py build
+ make doc
#/usr/bin/docbook-to-man debian/pygopherd.sgml > pygopherd.1
touch build-stamp
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
- -$(MAKE) clean
+ [ ! -f Makefile ] || $(MAKE) clean
dh_clean
dh_compress
dh_fixperms
# dh_perl
- dh_python
+ dh_pysupport
# dh_makeshlibs
dh_installdeb
dh_shlibdeps