summaryrefslogtreecommitdiff
path: root/tools/makefile
blob: db0cde28804d344b636b768366e8acacc4c1fa56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
CC= /usr/bin/g++ -Wall -g -I $(HOME)/lib/include


#?? exhibits = checkpassword.patch hi-q.c pido.c pop3.conf smtp.conf  \
#??    smtp.rules spamc-zap.patch spamd qmail


.PHONY : shipit clean list-src ALWAYS foo dirs setup imgs	\
	zip wc html all hacha hevea tcprules

.SECONDARY : # do not remove any intermediate files

all: pido hi-q

install:
	install pido hi-q /var/qmail/bin/
	cp filters.conf   /var/qmail/control/

/etc/tcpserver/smtp.rules :
	install -d /etc/tcpserver
	@echo '10.:allow,RELAYCLIENT=""'       > $@
	@echo '127.0.0.:allow,RELAYCLIENT=""' >> $@
	@echo ':allow'                        >> $@

tcprules : /etc/tcpserver/smtp.rules
	< $< tcprules /etc/tcpserver/smtp.cdb /etc/tcpserver/smtp.tmp


ALWAYS:
	@echo ...

##?? include $(chapters:.htm=.d)
##?? include $(fancy:%.htm=aux/%.fig)