customize makefile

merge-requests/2/head
Matthew 2021-05-01 15:17:49 -04:00
parent 6f4266f5b6
commit fc7cc8bc82
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 5 additions and 2 deletions

View File

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