summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-17 22:40:47 -0400
committerJune McEnroe <june@causal.agency>2018-09-17 22:40:47 -0400
commit819e994fabd7715592959e31ecb05b9921c9e390 (patch)
treebe73d03f633c1407e8c265ec5065175e24bbac9f /Makefile
downloadsrc-819e994fabd7715592959e31ecb05b9921c9e390.tar.gz
src-819e994fabd7715592959e31ecb05b9921c9e390.zip
Add "Using Make"
Diffstat (limited to '')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..543dc4ee
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+WEBROOT = /usr/local/www/text.causal.agency
+
+TXTS += 001-make.txt
+
+all: $(TXTS)
+
+.SUFFIXES: .7 .txt
+
+.7.txt:
+	mandoc $< | sed $$'s/.\b//g' > $@
+
+clean:
+	rm -f $(TXTS)
+
+install:
+	cp $(TXTS) $(WEBROOT)