diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ WEBROOT=/var/www/html/chsmun SRC=src -install: +install: /etc/nginx/chsmun.redir cp -R $(SRC) $(WEBROOT) + +/etc/nginx/chsmun.redir: LINKS awk '{gsub(/"/,"",$$2);print "location = /chsmun/"$$1" { return 301 \""g$$2"\"; }"}' LINKS > /etc/nginx/chsmun.redir |