diff options
author | Eugene <genie@geniechka.ru> | 2008-11-05 20:27:31 +0100 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2008-11-05 20:27:31 +0100 |
commit | cf194d158db5c09364c15487da9b24844c7622a9 (patch) | |
tree | 0ec5a00e28c6027bd491ac5d4443805734269bf2 /Makefile | |
parent | 9607fb940986ebd5fe368ada4e7e26c88385db29 (diff) | |
download | dovecot-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 '')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 \ |