configurations/Makefile

13 lines
312 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
./scripts/nginxsymlinks.py