aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-08-08 13:04:47 +0200
committerJohannes Berg <johannes@sipsolutions.net>2008-08-08 13:04:47 +0200
commit2fc57be024f875278c8f2e4f532718927b6e14eb (patch)
tree229ed4e097546523ddba1253fde09d5d8587204f /debian
parent1215f0eb1f06b44ebd419479e6ac7b89fe22a1ef (diff)
downloaddovecot-antispam-2fc57be024f875278c8f2e4f532718927b6e14eb.tar.gz
dovecot-antispam-2fc57be024f875278c8f2e4f532718927b6e14eb.tar.xz
dovecot-antispam-2fc57be024f875278c8f2e4f532718927b6e14eb.zip
make multiple packages installable concurrently
Diffstat (limited to '')
-rwxr-xr-xdebian/rules14
1 files changed, 7 insertions, 7 deletions
diff --git a/debian/rules b/debian/rules
index 65756b3..bc2a1a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ INST-mailtrain=$(CURDIR)/debian/dovecot-antispam-mailtrain/usr/lib/dovecot/modul
configure: configure-stamp
configure-stamp:
dh_testdir
- cp defconfig .config
+ cat defconfig | grep -v PLUGINNAME > .config
touch configure-stamp
@@ -33,9 +33,9 @@ build: build-arch
build-arch: build-arch-stamp
build-arch-stamp: configure-stamp
- LIBRARY_NAME=crm114.so BACKEND=crm114-exec $(MAKE)
- LIBRARY_NAME=dspam.so BACKEND=dspam-exec $(MAKE)
- LIBRARY_NAME=mailtrain.so BACKEND=mailtrain $(MAKE)
+ LIBRARY_NAME=crm114.so BACKEND=crm114-exec PLUGINNAME=crm114 $(MAKE)
+ LIBRARY_NAME=dspam.so BACKEND=dspam-exec PLUGINNAME=dspam $(MAKE)
+ LIBRARY_NAME=mailtrain.so BACKEND=mailtrain PLUGINNAME=mailtrain $(MAKE)
clean:
dh_testdir
@@ -56,11 +56,11 @@ install-arch:
dh_installdirs -s
mkdir -p $(INST-crm114)
- install -o root -g root -m 0660 crm114.so $(INST-crm114)/lib90_antispam_plugin.so
+ install -o root -g root -m 0660 crm114.so $(INST-crm114)/lib90_crm114_plugin.so
mkdir -p $(INST-dspam)
- install -o root -g root -m 0660 dspam.so $(INST-dspam)/lib90_antispam_plugin.so
+ install -o root -g root -m 0660 dspam.so $(INST-dspam)/lib90_dspam_plugin.so
mkdir -p $(INST-mailtrain)
- install -o root -g root -m 0660 mailtrain.so $(INST-mailtrain)/lib90_antispam_plugin.so
+ install -o root -g root -m 0660 mailtrain.so $(INST-mailtrain)/lib90_mailtrain_plugin.so
dh_install -s
# Must not depend on anything. This is to be called by