summaryrefslogtreecommitdiff
path: root/tools/makefile
blob: 256fa6e47289bd90a2f16e7a83b59b91b0d6b853 (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
34
35
36
37
38
39
40
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/
	install -m700 -d /var/qmail/rbin
	chown qmaild /var/qmail/rbin
	chgrp qmail /var/qmail/rbin
	install -m755 ../checkpasswd/checkpassword /var/qmail/rbin/
	chown root /var/qmail/rbin/checkpassword
	chmod u+s  /var/qmail/rbin/checkpassword
	cp smtp.conf /etc/stunnel/
	cp pop3.conf /etc/stunnel/
	chmod 640    /var/qmail/control/*.crtkey
	chown qmaild /var/qmail/control/*.crtkey
	install qmail-tls-check_certs /var/qmail/bin/
	install spamassassin /etc/init.d/
	install spamassassin.default /etc/default/spamassassin
	install tcprules.make /etc/tcpserver/makefile

/etc/tcpserver/smtp.rules :
	./mk_smtp_rules $@

ALWAYS:
	@echo ...

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