/head: changeset 46

Updated
This commit is contained in:
jgoerzen
2002-06-22 07:15:29 +01:00
parent 872fce5502
commit f7ec5e10ad
23 changed files with 104 additions and 601 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Modified by John Goerzen
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
@ -8,6 +9,8 @@
# This is the debhelper compatibility version to use.
export DH_COMPAT=3
PYTHON=python2.2
PACKAGE=offlineimap
ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
@ -21,6 +24,7 @@ configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
#$(PYTHON) setup.py configure
touch configure-stamp
@ -31,8 +35,8 @@ build-stamp: configure-stamp
dh_testdir
# Add here commands to compile the package.
$(MAKE)
#/usr/bin/docbook-to-man debian/offlineimap.sgml > offlineimap.1
$(PYTHON) setup.py build
#/usr/bin/docbook-to-man debian/pygopherd.sgml > pygopherd.1
touch build-stamp
@ -43,6 +47,7 @@ clean:
# Add here commands to clean up after the build process.
-$(MAKE) clean
-$(PYTHON) setup.py clean --all
dh_clean
@ -52,32 +57,35 @@ install: build
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/offlineimap.
$(MAKE) install DESTDIR=$(CURDIR)/debian/offlineimap
# Add here commands to install the package into debian/pygopherd.
#$(MAKE) install DESTDIR=$(CURDIR)/debian/pygopherd
$(PYTHON) setup.py install --root=`pwd`/debian/$(PACKAGE) --no-compile
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
# We have nothing to do by default.
# Build architecture-independent files here.
binary-indep: build install
dh_testdir
dh_testroot
# dh_installdebconf
dh_installdocs
mv debian/$(PACKAGE)/usr/bin/$(PACKAGE).py \
debian/$(PACKAGE)/usr/bin/$(PACKAGE)
dh_installexamples
dh_installmenu
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
dh_installinit
dh_installcron
dh_installman
dh_installinfo
# dh_undocumented
dh_installchangelogs ChangeLog
dh_installchangelogs
dh_link
dh_strip
dh_compress