### Makefile for cryptomail PRP = twofish KEYSZ = 256 USER = cryptomail ASUSER = become $(USER) -g$(USER) -- all: config.files crontab.stamp config.files: config splitconf config crontab.stamp: crontab @if [ -f really-install-crontab ]; then \ echo "crontab crontab"; \ crontab crontab; \ else \ echo "(Not installing crontab.)"; \ fi touch crontab.stamp install: db/keyring db/cryptomail.db db: mkdir -p -m 700 db.new chown $(USER):$(USER) db.new mv db.new db db/keyring: db $(ASUSER) \ key -k db/keyring add -abinary -b$(KEYSZ) cryptomail prp=$(PRP) db/cryptomail.db: db $(ASUSER) bin/cryptomail initdb clean: splitconf -d config rm -f config.files crontab.stamp realclean: clean rm -rf db .PHONY: clean all install