aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 66dc6502c311376437b35daa6b2b58ac16760a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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