diff options
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/scripts/Makefile b/scripts/Makefile new file mode 100644 index 0000000..26ed772 --- /dev/null +++ b/scripts/Makefile @@ -0,0 +1,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 |