summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: b3de194e9ced6881e92b7b65fb770d348028cda2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
MANDOCS = catlfish.1 genconfig.1
RONN = ronn --warnings --organization="FIXME:\$$version"

all: man html

man: $(MANDOCS)

html: $(addsuffix .html,$(MANDOCS))

%: %.md
	$(RONN) --roff $^

%.html: %.md
	$(RONN) --html $^

clean:
	-rm -f $(MANDOCS) $(addsuffix .html,$(MANDOCS))