summaryrefslogtreecommitdiff
path: root/tools/makefile
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2012-07-22 19:13:11 -0700
committerJohn Denker <jsd@av8n.com>2012-07-22 19:36:54 -0700
commit5b0852f0b2ddfd7d65711daf8602492a60917fbd (patch)
treee3d0ab9107e3e01ef923a71e4cfadca40a132ea6 /tools/makefile
parent010db437f35e831d170a726aad88bcc305c7b668 (diff)
create the "bash-c" program, so as to make it easy to
write self-executing scripts
Diffstat (limited to 'tools/makefile')
-rw-r--r--tools/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/makefile b/tools/makefile
index 43418ce..5dc7952 100644
--- a/tools/makefile
+++ b/tools/makefile
@@ -12,7 +12,9 @@ CC= /usr/bin/g++ -Wall -g -I $(HOME)/lib/include
qprogs = pido hi-q skrewt hi-test mail-scan greylist wripper
-all: $(qprogs) wripper
+moreprogs = wripper bash-c
+
+all: $(qprogs) $(moreprogs)
greylist: greylist.o
$(CC) $< -lboost_filesystem-mt -o $@
@@ -28,6 +30,7 @@ mail-scan: mail-scan.o
install:
install $(qprogs) /var/qmail/bin/
install -gdaemon -m2755 wripper /usr/lib/mailman/mail/
+ install bash-c /usr/local/bin/
cp filters.conf aufilters.conf /var/qmail/control/
install -m700 -d /var/qmail/rbin
chown qmaild /var/qmail/rbin