aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEugene <genie@geniechka.ru>2008-11-05 20:27:31 +0100
committerJohannes Berg <johannes@sipsolutions.net>2008-11-05 20:27:31 +0100
commitcf194d158db5c09364c15487da9b24844c7622a9 (patch)
tree0ec5a00e28c6027bd491ac5d4443805734269bf2 /Makefile
parent9607fb940986ebd5fe368ada4e7e26c88385db29 (diff)
downloaddovecot-antispam-cf194d158db5c09364c15487da9b24844c7622a9.tar.gz
dovecot-antispam-cf194d158db5c09364c15487da9b24844c7622a9.tar.xz
dovecot-antispam-cf194d158db5c09364c15487da9b24844c7622a9.zip
Makefile fixes
fix Makefile to be usable with gmake on FreeBSD 6.1, fix installed plugin permissions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index eafec2a..a16deed 100644
--- a/Makefile
+++ b/Makefile
@@ -26,10 +26,12 @@ LIBRARY_NAME ?= lib90_$(PLUGINNAME)_plugin.so
ifeq ("$(DEBUG)", "stderr")
CFLAGS += -DCONFIG_DEBUG -DDEBUG_STDERR
objs += debug.o
-else ifeq ("$(DEBUG)", "syslog")
+else
+ifeq ("$(DEBUG)", "syslog")
CFLAGS += -DCONFIG_DEBUG -DDEBUG_SYSLOG
objs += debug.o
endif
+endif
ifeq ("$(DEBUG_VERBOSE)", "1")
CFLAGS += -DCONFIG_DEBUG_VERBOSE
@@ -84,7 +86,7 @@ clean:
rm -f *.so *.o *~ dovecot-version dovecot-version.h antispam-version.h
install: all
- install -o $(USER) -g $(GROUP) -m 0660 $(LIBRARY_NAME) $(INSTALLDIR)/
+ install -o $(USER) -g $(GROUP) -m 0755 $(LIBRARY_NAME) $(INSTALLDIR)/
verify_config:
@if [ ! -r $(CONFIG) ]; then \