summary refs log tree commit diff
path: root/www/text.causal.agency/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-14 20:40:07 +0000
committerJune McEnroe <june@causal.agency>2021-01-14 20:41:06 +0000
commit431873bf0a48d830f495083ef0e69967347aa943 (patch)
tree20a091ff74e36e624eb35f9eb264b92a675fa600 /www/text.causal.agency/Makefile
parentClean up html.sh (diff)
downloadsrc-431873bf0a48d830f495083ef0e69967347aa943.tar.gz
src-431873bf0a48d830f495083ef0e69967347aa943.zip
Add igp gopher server for text.causal.agency
Diffstat (limited to '')
-rw-r--r--www/text.causal.agency/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/text.causal.agency/Makefile b/www/text.causal.agency/Makefile
index 380af0fd..223c4e2f 100644
--- a/www/text.causal.agency/Makefile
+++ b/www/text.causal.agency/Makefile
@@ -1,4 +1,7 @@
-WEBROOT = /usr/local/www/text.causal.agency
+WEBROOT ?= /usr/local/www/text.causal.agency
+LIBEXEC ?= /usr/local/libexec
+
+CFLAGS += -Wall -Wextra
 
 TXTS += 001-make.txt
 TXTS += 002-writing-mdoc.txt
@@ -26,7 +29,11 @@ feed.atom: feed.sh ${TXTS}
 	sh feed.sh > feed.atom
 
 clean:
-	rm -f ${TXTS} feed.atom
+	rm -f ${TXTS} feed.atom igp
 
 install: ${TXTS} feed.atom
 	install -p -m 644 ${TXTS} feed.atom ${WEBROOT}
+
+install-igp: igp
+	install igp ${LIBEXEC}
+	install -p -m 644 igp.c ${WEBROOT}