configurations/Makefile

14 lines
351 B
Makefile

nginx_server_blocks := $(shell ./scripts/listnginxserverblocks.sh)
pre:
@chmod -R u+x ./scripts
# Formats Nginx configuration files
nginxfmt: pre
./scripts/nginxfmt.py ${nginx_server_blocks}
# Creates Symlinks for Nginx files, /etc/nginx/sites-available
nginxsym: pre
rm -r /etc/nginx/sites-available/*
./scripts/nginxsymlinks.py