customize makefile
parent
6f4266f5b6
commit
fc7cc8bc82
7
Makefile
7
Makefile
|
@ -1,9 +1,12 @@
|
||||||
nginx_server_blocks := $(shell ./scripts/listnginxserverblocks.sh)
|
nginx_server_blocks := $(shell ./scripts/listnginxserverblocks.sh)
|
||||||
|
|
||||||
|
pre:
|
||||||
|
chmod -R u+x ./scripts
|
||||||
|
|
||||||
# Formats Nginx configuration files
|
# Formats Nginx configuration files
|
||||||
nginxfmt:
|
nginxfmt: pre
|
||||||
./scripts/nginxfmt.py ${nginx_server_blocks}
|
./scripts/nginxfmt.py ${nginx_server_blocks}
|
||||||
|
|
||||||
# Creates Symlinks for Nginx files, /etc/nginx/sites-available
|
# Creates Symlinks for Nginx files, /etc/nginx/sites-available
|
||||||
nginxsym:
|
nginxsym: pre
|
||||||
./scripts/nginxsymlinks.py
|
./scripts/nginxsymlinks.py
|
||||||
|
|
Loading…
Reference in New Issue