summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-08-30 00:40:53 -0400
committerHolden Rohrer <hr@hrhr.dev>2020-08-30 00:40:53 -0400
commit6ee506a15d21ab846390ce16863f6a9305b4fe2a (patch)
tree99c43c31cdc48024676e8bb9cecd3d34eb046697 /Makefile
parent580a569de1af70580355601be0eb91fee9d1c49a (diff)
made LINKS a contentful file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index cf05c55..176f660 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,4 @@ SRC=src
install:
cp -R $(SRC) $(WEBROOT)
+ awk '{gsub(/"/,"",$2);print "location = /chsmun/"$1" { return 301 \""g$2"\"; }"}' LINKS > /etc/nginx/chsmun.redir