[Pkg-mozext-commits] [SCM] Iceweasel extension that enables customization of webpages with user scripts branch, master, updated. debian/0.9.17-1-8-gd4ec9b5
Fabrizio Regalli
fabreg at fabreg.it
Sat Mar 3 15:20:30 UTC 2012
The following commit has been merged in the master branch:
commit d4ec9b58ec2382954f4b12dbd4e7ca508c277649
Author: Fabrizio Regalli <fabreg at fabreg.it>
Date: Sat Mar 3 16:20:20 2012 +0100
Rewrite d/rules using standard rules
* Rewrite d/rules using standard rules
* Removed cdbs from Build-Depends
diff --git a/debian/changelog b/debian/changelog
index 3e200f9..930a358 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ greasemonkey (0.9.18-1) unstable; urgency=low
* Bump Standards-Version to 3.9.3
* Removed firefox-greasemonkey (<< 0.8.20090123.1) from
Breaks and Replaces
+ * Rewrite d/rules using standard rules
+ * Removed cdbs from Build-Depends
-- Fabrizio Regalli <fabreg at fabreg.it> Fri, 02 Mar 2012 12:44:29 +0100
diff --git a/debian/control b/debian/control
index 3d68303..094983f 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,7 @@ Maintainer: Dmitry E. Oboukhov <unera at debian.org>
Uploaders: Debian Mozilla Extension Maintainers <pkg-mozext-maintainers at lists.alioth.debian.org>,
Andrea Veri <and at debian.org>, Fabrizio Regalli <fabreg at fabreg.it>
DM-Upload-Allowed: yes
-Build-Depends: cdbs,
- debhelper (>= 8),
+Build-Depends: debhelper (>= 8),
mozilla-devscripts (>= 0.16~)
Standards-Version: 3.9.3
Homepage: http://www.greasespot.net/
diff --git a/debian/rules b/debian/rules
index 84ffbfa..61729d5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,13 @@
#!/usr/bin/make -f
-UVERSION := $(shell \
- dpkg-parsechangelog \
- |grep ^Version: \
- |awk '{print $$2}' \
- |sed 's/-[[:digit:]]//' \
-)
+%:
+ dh $@ --with xul-ext
-MOZ_XPI_DOCUMENTED_LICENSE_FILES = $(wildcard LICENSE.*)
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/mozilla-devscripts/xpi.mk
+override_dh_auto_build:
+ xpi-pack . xul-ext-greasemonkey.xpi
+override_dh_auto_install:
+ install-xpi xul-ext-greasemonkey.xpi -x LICENSE.bsd -x LICENSE.mit -x LICENSE.mpl
-tarball:
- fakeroot debian/rules clean || ./debian/rules clean
- cd .. && tar \
- --exclude=debian \
- --exclude=.git \
- -czvf greasemonkey_$(UVERSION).orig.tar.gz \
- greasemonkey-$(UVERSION)
+override_dh_auto_clean:
+ rm -f xul-ext-greasemonkey.xpi
--
Iceweasel extension that enables customization of webpages with user scripts
More information about the Pkg-mozext-commits
mailing list