.PHONY: reissue-certs packer-manifest.json: wallabag.json \ scripts/dependencies.sh \ scripts/nginx.sh \ scripts/redis.sh \ scripts/wallabag.sh \ files/wallabag-nginx.conf \ files/entries.json \ files/wallabag-params.yml \ files/clients.sql \ certbot/live/wallabag.jeremydormitzer.com/fullchain.pem \ certbot/live/wallabag.jeremydormitzer.com/privkey.pem packer build wallabag.json files/wallabag-params.yml: templates/wallabag-params.yml.template sigil -p -f templates/wallabag-params.yml.template > files/wallabag-params.yml files/clients.sql: templates/clients.sql.template sigil -p -f templates/clients.sql.template > files/clients.sql certbot/live/wallabag.jeremydormitzer.com/fullchain.pem certbot/live/wallabag.jeremydormitzer.com/privkey.pem &: tmp/do.ini certbot certonly -n \ --agree-tos \ --email ${CERTBOT_EMAIL} \ --dns-digitalocean \ --dns-digitalocean-credentials tmp/do.ini \ --config-dir ./certbot \ --work-dir ./certbot \ --logs-dir ./certbot \ -d wallabag.jeremydormitzer.com tmp/do.ini: templates/do.ini.template tmp sigil -p -f templates/do.ini.template > tmp/do.ini chmod 600 tmp/do.ini tmp: mkdir tmp reissue-certs: rm -rf certbot make