summaryrefslogtreecommitdiff
path: root/scripts/Makefile
blob: 26ed7722093d496ffee1ee13f292b1b3c5d83956 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Don't edit Makefile! Use conf-* for configuration.

SHELL=/bin/sh

default: it-scan it-recipients \
it-x509 it-pam 

clean: \
TARGETS
	rm -f `cat TARGETS`

it-pam: \
ldap-pam 

it-recipients: \
qmail-alias2recipients 

it-scan: \
qmail-queue-scan

it-x509: \
x509fingerprint mkdkimkey

ldap-pam: \
perl-auto.sh ldap-pam.pl ../conf-home
	cat perl-auto.sh ldap-pam.pl \
	| sed s}PERL}"`which perl`"}g \
	| sed s}HOME}"`head -1 ../conf-home`"}g \
	> ldap-pam 
	chmod 755 ldap-pam

mkdkimkey: \
warn-auto.sh mkdkimkey.sh ../conf-home
	cat warn-auto.sh mkdkimkey.sh \
	| sed s}HOME}"`head -1 ../conf-home`"}g \
	> mkdkimkey
	chmod 755 mkdkimkey

qmail-alias2recipients: \
warn-auto.sh qmail-alias2recipients.sh ../conf-home
	cat warn-auto.sh qmail-alias2recipients.sh \
	| sed s}HOME}"`head -1 ../conf-home`"}g \
	> qmail-alias2recipients
	chmod 755 qmail-alias2recipients

qmail-mrtg-queue: \
warn-auto.sh qmail-mrtg-queue.sh ../conf-home
	cat warn-auto.sh qmail-mrtg-queue.sh \
	| sed s}HOME}"`head -1 ../conf-home`"}g \
	> qmail-mrtg-queue
	chmod 755 qmail-mrtg-queue

qmail-queue-scan: \
warn-auto.sh qmail-queue-scan.sh ../conf-home
	cat warn-auto.sh qmail-queue-scan.sh \
	| sed s}HOME}"`head -1 ../conf-home`"}g \
	> qmail-queue-scan
	chmod 755 qmail-queue-scan

x509fingerprint: \
warn-auto.sh x509fingerprint.sh
	cat warn-auto.sh x509fingerprint.sh \
	> x509fingerprint
	chmod 755 x509fingerprint