[Pkg-dspam-commits] [SCM] Debian packages for the DSPAM anti-spam filter branch, master, updated. debian/3.9.1_rc1+git20110514.347379b+dfsg-1-47-g4cbba36

Julien Valroff julien at kirya.net
Sat Jul 30 13:33:12 UTC 2011


The following commit has been merged in the master branch:
commit 4cbba360e262273e589e3c98204214dcdb9c3067
Author: Julien Valroff <julien at kirya.net>
Date:   Sat Jul 30 15:33:08 2011 +0200

    Reorder rules file

diff --git a/debian/rules b/debian/rules
index 7d92ee5..f541725 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,19 +3,13 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# Allows easy backporting on non-multiarch aware distributions
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
+# Allows easy backporting on non-multiarch aware distributions
 PREPROCESS_FILES := $(wildcard debian/*.install.in)
-
 $(PREPROCESS_FILES:.in=): %: %.in
 	sed 's, at DEB_HOST_MULTIARCH@/,$(DEB_HOST_MULTIARCH:=/),g' $< > $@
 
-ifneq (,$(DEB_HOST_MULTIARCH))
-override_dh_gencontrol:
-	dh_gencontrol -- -Vmisc:Multi-Arch=same
-endif
-
 # The first driver stated hear will be used as the 
 # default driver in dspam.conf
 STORAGE = "hash_drv,mysql_drv,pgsql_drv,sqlite3_drv"
@@ -89,6 +83,11 @@ override_dh_strip:
 override_dh_installinit:
 	dh_installinit -- start 21 2 3 4 5 . stop 21 0 1 6 .
 
+ifneq (,$(DEB_HOST_MULTIARCH))
+override_dh_gencontrol:
+	dh_gencontrol -- -Vmisc:Multi-Arch=same
+endif
+
 override_dh_auto_clean:
 	[ ! -f Makefile ] || $(MAKE) maintainer-clean
 

-- 
Debian packages for the DSPAM anti-spam filter



More information about the Pkg-dspam-commits mailing list