2021-04-03 02:37:14 -04:00
|
|
|
nginx_server_blocks := $(shell ./scripts/listnginxserverblocks.sh)
|
|
|
|
|
2021-05-01 15:17:49 -04:00
|
|
|
pre:
|
2021-05-01 15:17:53 -04:00
|
|
|
@chmod -R u+x ./scripts
|
2021-05-01 15:17:49 -04:00
|
|
|
|
2021-04-03 02:37:14 -04:00
|
|
|
# Formats Nginx configuration files
|
2021-05-01 15:17:49 -04:00
|
|
|
nginxfmt: pre
|
2021-04-03 02:37:14 -04:00
|
|
|
./scripts/nginxfmt.py ${nginx_server_blocks}
|
2021-04-14 22:57:08 -04:00
|
|
|
|
|
|
|
# Creates Symlinks for Nginx files, /etc/nginx/sites-available
|
2021-05-01 15:17:49 -04:00
|
|
|
nginxsym: pre
|
2021-04-14 22:57:08 -04:00
|
|
|
./scripts/nginxsymlinks.py
|