about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
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