aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-17 13:45:20 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-17 13:46:26 -0400
commitfc719e47c452564b56d2ed0b7828fc74e72fcef8 (patch)
treef392219dbc10ce7690142927d4215ab88e71275d /Makefile
parentfcdcd32de7118e1de1f8d94c380a0e80a64265ec (diff)
Add man pages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..66dc650
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,26 @@
+aerc:
+ go build -o aerc
+
+%.1: doc/%.1.scd
+ scdoc < $< > $@
+
+%.5: doc/%.5.scd
+ scdoc < $< > $@
+
+DOCS := \
+ aerc.1 \
+ aerc-config.5 \
+ aerc-imap.5 \
+ aerc-smtp.5
+
+all: aerc $(DOCS)
+
+clean:
+ rm -f *.1 *.5 aerc
+
+install:
+ # TODO: install binary, man pages, example config, and filters from contrib
+
+.DEFAULT_GOAL := all
+
+.PHONY: aerc clean install