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-29 15:32:35 -0700
commit8f18b37fd5a46d28544a4f31465c47428a43398b (patch)
tree9ac1d7a0ff916046d0748d3ac0c2ed1275f2ee4c /tools/makefile
parent065d189b49449c073cfa23cba4172060abe36c6c (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