aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-10-14 23:01:29 +0200
committerJohannes Berg <johannes@sipsolutions.net>2007-10-14 23:01:29 +0200
commit16fa9f274551ce95c34835b56273f4d08548f127 (patch)
tree35c3bab59f6f4ddc2674b141ec1f2d31b5e3c8a5 /Makefile
parentef627cc4de8d31b19d07453990ef872ee3629e3d (diff)
downloaddovecot-antispam-16fa9f274551ce95c34835b56273f4d08548f127.tar.gz
dovecot-antispam-16fa9f274551ce95c34835b56273f4d08548f127.tar.xz
dovecot-antispam-16fa9f274551ce95c34835b56273f4d08548f127.zip
use $(CONFIG) everywhere
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index dcdda47..66eaab3 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ ALL = plugin
all: verify_config $(ALL)
-%.o: %.c .config antispam-plugin.h
+%.o: %.c $(CONFIG) antispam-plugin.h
$(CC) -c $(CFLAGS) -o $@ $<
plugin: $(objs)
@@ -74,9 +74,9 @@ install: all
install -o root -g root -m 0660 $(LIBRARY_NAME) $(INSTALLDIR)/
verify_config:
- @if [ ! -r .config ]; then \
+ @if [ ! -r $(CONFIG) ]; then \
echo -e "\nBuilding the plugin requires a configuration file"; \
- echo -e '(.config). Copy defconfig ("cp defconfig .config")' ; \
+ echo -e $(CONFIG)'. Copy defconfig ("cp defconfig' $(CONFIG)'")' ; \
echo -e "to create an example configuration.\n"; \
exit 1; \
fi