From fc719e47c452564b56d2ed0b7828fc74e72fcef8 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 17 May 2019 13:45:20 -0400 Subject: Add man pages --- Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3