[Pkg-mozext-commits] [SCM] icedove-quotecolors Debian packaging branch, master, updated. debian/0.2.8-1-16-g25c7953
Christoph Goehre
christoph.goehre at gmx.de
Sun Jul 26 17:43:59 UTC 2009
The following commit has been merged in the master branch:
commit 254a4080c063a7264c6666527c8833a3dd636313
Author: Christoph Goehre <christoph.goehre at gmx.de>
Date: Sun Jul 26 15:42:31 2009 +0200
change package build to cdbs
diff --git a/debian/control b/debian/control
index 8a3e598..3b0454c 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: mail
Priority: optional
Maintainer: Debian Mozilla Extension Maintainers <pkg-mozext-maintainers at lists.alioth.debian.org>
Uploaders: Christoph Goehre <christoph.goehre at gmx.de>
-Build-Depends: debhelper (>= 7)
+Build-Depends: cdbs, debhelper (>= 7), quilt
Build-Depends-Indep: zip
Standards-Version: 3.8.1
DM-Upload-Allowed: yes
@@ -13,7 +13,7 @@ Homepage: http://quotecolors.mozdev.org/
Package: icedove-quotecolors
Architecture: all
-Depends: icedove (>= 1.5.0.7), icedove (<= 2.0.0.99)
+Depends: icedove (>= 1.5.0.7), icedove (<= 2.0.0.99), ${misc:Depends}
Description: Colorize different quoting levels in e-mail messages
With this extensions installed up to five quoting levels can be displayed in
different colors making it easier to read e-mails with lots of quoted replies.
diff --git a/debian/rules b/debian/rules
index 05ff232..ebee5f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,73 +1,23 @@
#!/usr/bin/make -f
# -*- makefile -*-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/buildcore.mk
+DEB_BUILDDIR = $(DEB_SRCDIR)/build
-objdir = $(CURDIR)/build
-
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
-
- # create build dir
- mkdir $(objdir)
-
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # remove build tree
- rm -rf $(objdir)
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
+build/icedove-quotecolors:: debian/stamp-build
+debian/stamp-build:
# remove 'contents.rdf' files
- cp -a quotecolors $(objdir) && find $(objdir) -name 'contents.rdf' -exec rm {} \;
+ cp -a quotecolors $(DEB_BUILDDIR) && find $(DEB_BUILDDIR) -name 'contents.rdf' -exec rm {} \;
# zip chrome to jar file
- cd $(objdir)/quotecolors && zip -r $(objdir)/quotecolors.jar .
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
- dh_install
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# We have nothing to do by default.
+ cd $(DEB_BUILDDIR)/quotecolors && zip -r ../quotecolors.jar .
+ touch $@
+cleanbuilddir/icedove-quotecolors::
+ rm -rf $(DEB_BUILDDIR)
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+clean::
+ rm -f debian/stamp-build
--
icedove-quotecolors Debian packaging
More information about the Pkg-mozext-commits
mailing list