summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-09-10 17:58:54 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-09-10 17:58:54 +0400
commitfe7ebd5be9d1352f7a3727bfbfabb6453321e269 (patch)
tree3888171e8e16362cecbefca6ad6548243ba9a8b9 /Makefile.in
parent57e765ce78c6b9746cddab4c3415dc386552151f (diff)
downloadrspamd-fe7ebd5be9d1352f7a3727bfbfabb6453321e269.tar.gz
rspamd-fe7ebd5be9d1352f7a3727bfbfabb6453321e269.zip
* Add utility for extracting urls from message
* Rework build system
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 4 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index bbc443cd2..8dc6e597f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,11 +1,11 @@
-.PHONY: perl clean test
+.PHONY: perl clean $(SUBDIRS)
all: perl $(TARGETS)
perl: perl/Makefile
cd perl && make && cd ..
-perl/Makefile: perl/Makefile.PL
+perl/Makefile:
cd perl && perl Makefile.PL && cd ..
memctest: upstream.c memcached.c memcached-test.c
@@ -22,22 +22,18 @@ install: $(EXEC)
#$(INSTALL) -m0644 rspamd.conf.sample $(PREFIX)/etc
$(MKDIR) -o $(RSPAMD_USER) -g $(RSPAMD_GROUP) /var/run/rspamd
-clean:
+clean: clean-subdirs perl/Makefile
rm -f *.o $(EXEC) *.core
rm -f cfg_lex.c cfg_yacc.c cfg_yacc.h
cd perl && make clean && cd ..
- cd test && make clean && cd ..
-dist-clean: clean
+dist-clean: clean dist-clean-subdirs
rm -f Makefile
rm -f test/Makefile
rm -f config.log
rm -f md5.h md5.c strlcpy.h strlcpy.c queue.h config.h modules.c modules.h
cd perl && rm -f Makefile.old && rm -f Makefile.PL && cd ..
-test:
- cd test && make
-
creategroup:
@echo "Create group $(RSPAMD_GROUP) before installing!"