23 lines
554 B
Makefile
23 lines
554 B
Makefile
.PHONY: force
|
|
|
|
packer-manifest.json: nginx.json \
|
|
tmp/nginx.conf \
|
|
tmp/do.ini \
|
|
files/certbot-renew.service \
|
|
files/certbot-renew.timer \
|
|
scripts/dependencies.sh \
|
|
scripts/nginx.sh
|
|
packer build nginx.json
|
|
|
|
tmp/nginx.conf: tmp force
|
|
cd terraform && terraform apply -auto-approve
|
|
|
|
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
|
|
|
|
force:
|