2 # Sample debian/rules that uses debhelper.
3 # GNU copyright 1997 to 1999 by Joey Hess.
5 # Uncomment this to turn on verbose mode.
8 # This is the debhelper compatibility version to use.
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.
30 build-stamp
: configure-stamp
33 # Add here commands to compile the package.
35 #/usr/bin/docbook-to-man debian/offlineimap.sgml > offlineimap.1
42 rm -f build-stamp configure-stamp
44 # Add here commands to clean up after the build process.
55 # Add here commands to install the package into debian/offlineimap.
56 $(MAKE
) install DESTDIR
=$(CURDIR
)/debian
/offlineimap
59 # Build architecture-independent files here.
60 binary-indep
: build
install
61 # We have nothing to do by default.
63 # Build architecture-dependent files here.
64 binary-arch
: build
install
80 dh_installchangelogs ChangeLog
93 binary
: binary-indep binary-arch
94 .PHONY
: build
clean binary-indep binary-arch binary
install configure