diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-08-30 01:40:11 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-08-30 01:40:11 -0400 |
commit | 8549657407d47ab2930c17ac4948fe52054c7fdd (patch) | |
tree | 26fed5abd4c89d76a7e7b85dd4037f3161a2caea /Makefile | |
parent | 1a5620224702585f2b6b48e5a769125b8ef8a2b9 (diff) |
made it make a bit more sense
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 |