chiark / gitweb /
cryptomail: Implement info and revoke commands.
[cryptomail] / Makefile
index 7e98d7dffcd3e37702d51ecf4918f326907e45dd..9598bf9db70f4c2804d80b5e5cb2a34c9f54f009 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,17 +9,18 @@ all: config.files crontab.stamp
 
 config.files: config
        splitconf config
+       update-addrcheck
 
 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
 
-install: db/keyring db/cryptomail.db
+install: all db/keyring db/cryptomail.db
 
 db:
        mkdir -p -m 700 db.new
@@ -28,7 +29,8 @@ db:
 
 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