configurations/Makefile

13 lines
313 B
Makefile
Raw Normal View History

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}
# Creates Symlinks for Nginx files, /etc/nginx/sites-available
2021-05-01 15:17:49 -04:00
nginxsym: pre
./scripts/nginxsymlinks.py