From 8549657407d47ab2930c17ac4948fe52054c7fdd Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Sun, 30 Aug 2020 01:40:11 -0400 Subject: made it make a bit more sense --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d296bf5..8861bf5 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit