]> git.sur5r.net Git - i3/i3/blob - man/Makefile
manpages: don’t regenerate manpages on every 'make'
[i3/i3] / man / Makefile
1 A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf"
2
3 all: i3.1 i3-msg.1 i3-input.1 i3-wsbar.1
4
5 %.1: %.man asciidoc.conf
6         ${A2M} $<
7
8 i3-wsbar.1: ../i3-wsbar
9         pod2man $^ > $@
10
11 clean:
12         for file in "i3 i3-msg i3-input"; \
13         do \
14                 rm -f $${file}.1 $${file}.html $${file}.xml; \
15         done
16
17 distclean: clean
18         rm -f *.1