minor build update

This commit is contained in:
SJ 2013-09-28 14:39:19 +02:00
parent 2be9717237
commit f72e5b1a6d
2 changed files with 2 additions and 1 deletions

1
description-pak Normal file
View File

@ -0,0 +1 @@
open source email archiver

View File

@ -27,7 +27,7 @@ INSTALL = @INSTALL@
all:
sed -e 's%pidfile=.*%pidfile=$(localstatedir)/run/piler/piler.pid%g' \
-e 's%iv=.*%iv=@iv@%g' \
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf > $(srcdir)/piler.conf
-e 's%workdir=.*%workdir=$(localstatedir)/piler/tmp%g' < $(srcdir)/example.conf | grep -v ^\; | grep -v ^$ | sort > $(srcdir)/piler.conf.dist
install:
if [ ! -f "$(DESTDIR)$(sysconfdir)/piler.conf" ]; then $(INSTALL) -m 0640 -g $(RUNNING_GROUP) $(srcdir)/piler.conf $(DESTDIR)$(sysconfdir)/piler.conf; fi