annotate APOPtools/with-tcpserver/Makefile @ 4:d741b3ecc917 draft

imapext-2007f
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 30 Oct 2014 00:03:05 +0900
parents 28a55bc1110c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
1 #
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
2 TCPDIR=/usr/local/bin
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
3 TR=${TCPDIR}/tcprules
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
4
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
5 all: pop.cdb
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
6
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
7 pop.cdb: pop
d741b3ecc917 imapext-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
8 cat $> | ${TR} $@ pop.tmp
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
9 #
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
10 TCPDIR=/usr/local/bin
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
11 TR=${TCPDIR}/tcprules
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
12 DESTDIR = /var/qmail/ipopd
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
13 LOGMAIN = ${DESTDIR}/log/main
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
14 LOGUSER = nobody
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
15
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
16 all: pop.cdb
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
17
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
18 install:
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
19 -mkdir -p ${DESTDIR}
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
20 tar cf - Makefile log run | (cd ${DESTDIR}; tar xpf -)
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
21 chmod +x ${DESTDIR}/run ${DESTDIR}/log/run
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
22 mkdir ${LOGMAIN}
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
23 chown ${LOGUSER} ${LOGMAIN}
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
24
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
25 pop.cdb: pop
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents:
diff changeset
26 cat $> | ${TR} $@ pop.tmp

yatex.org