~mdw
/
cryptomail
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
userv: Tidy up a bit. Require file descriptors to be right.
[cryptomail]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
7e98d7d
..
9598bf9
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-9,17
+9,18
@@
all: config.files crontab.stamp
config.files: config
splitconf config
config.files: config
splitconf config
+ update-addrcheck
crontab.stamp: crontab
@if [ -f really-install-crontab ]; then \
crontab.stamp: crontab
@if [ -f really-install-crontab ]; then \
- echo "crontab crontab"; \
- crontab crontab; \
+ echo "crontab
-u $(USER)
crontab"; \
+ crontab
-u $(USER)
crontab; \
else \
echo "(Not installing crontab.)"; \
fi
touch crontab.stamp
else \
echo "(Not installing crontab.)"; \
fi
touch crontab.stamp
-install: db/keyring db/cryptomail.db
+install:
all
db/keyring db/cryptomail.db
db:
mkdir -p -m 700 db.new
db:
mkdir -p -m 700 db.new
@@
-28,7
+29,8
@@
db:
db/keyring: db
$(ASUSER) \
db/keyring: db
$(ASUSER) \
- key -k db/keyring add -abinary -b$(KEYSZ) cryptomail prp=$(PRP)
+ key -k db/keyring add -abinary -b$(KEYSZ) -eforever \
+ cryptomail prp=$(PRP)
db/cryptomail.db: db
$(ASUSER) bin/cryptomail initdb
db/cryptomail.db: db
$(ASUSER) bin/cryptomail initdb