2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
4 # Modified by John Goerzen
6 # Uncomment this to turn on verbose mode.
9 # This is the debhelper compatibility version to use.
16 ifneq (,$(findstring debug
,$(DEB_BUILD_OPTIONS
)))
19 ifeq (,$(findstring nostrip
,$(DEB_BUILD_OPTIONS
)))
23 configure
: configure-stamp
26 # Add here commands to configure the package.
27 #$(PYTHON) setup.py configure
34 build-stamp
: configure-stamp
37 # Add here commands to compile the package.
38 $(PYTHON
) setup.py build
40 #/usr/bin/docbook-to-man debian/pygopherd.sgml > pygopherd.1
47 rm -f build-stamp configure-stamp
49 # Add here commands to clean up after the build process.
60 # Add here commands to install the package into debian/pygopherd.
61 #$(MAKE) install DESTDIR=$(CURDIR)/debian/pygopherd
62 $(PYTHON
) setup.py
install --root
=`pwd`/debian
/$(PACKAGE
) --no-compile
65 # Build architecture-dependent files here.
66 binary-arch
: build
install
67 # We have nothing to do by default.
69 # Build architecture-independent files here.
70 binary-indep
: build
install
75 dh_installexamples offlineimap.conf offlineimap.conf.minimal
83 dh_installman offlineimap
.1
100 binary
: binary-indep binary-arch
101 .PHONY
: build
clean binary-indep binary-arch binary
install configure