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.
13 ifneq (,$(findstring debug
,$(DEB_BUILD_OPTIONS
)))
16 ifeq (,$(findstring nostrip
,$(DEB_BUILD_OPTIONS
)))
20 configure
: configure-stamp
23 # Add here commands to configure the package.
24 #$(PYTHON) setup.py configure
31 build-stamp
: configure-stamp
34 # Add here commands to compile the package.
35 $(PYTHON
) setup.py build
37 #/usr/bin/docbook-to-man debian/pygopherd.sgml > pygopherd.1
44 rm -f build-stamp configure-stamp
46 # Add here commands to clean up after the build process.
47 [ ! -f Makefile
] ||
$(MAKE
) clean
57 # Add here commands to install the package into debian/pygopherd.
58 #$(MAKE) install DESTDIR=$(CURDIR)/debian/pygopherd
59 $(PYTHON
) setup.py
install --root
=`pwd`/debian
/$(PACKAGE
) --no-compile
62 # Build architecture-dependent files here.
63 binary-arch
: build
install
64 # We have nothing to do by default.
66 # Build architecture-independent files here.
67 binary-indep
: build
install
72 dh_installexamples offlineimap.conf offlineimap.conf.minimal
80 dh_installman offlineimap
.1
97 binary
: binary-indep binary-arch
98 .PHONY
: build
clean binary-indep binary-arch binary
install configure