i3/man/Makefile
Michael Stapelberg 1a10a089e8 manpages: don’t regenerate manpages on every 'make'
Conflicts:

	man/Makefile
2011-07-23 22:02:27 +02:00

19 lines
349 B
Makefile

A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf"
all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1
%.1: %.man asciidoc.conf
${A2M} $<
i3-wsbar.1: ../i3-wsbar
pod2man $^ > $@
clean:
for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar); \
do \
rm -f $${file}.1 $${file}.html $${file}.xml; \
done
distclean: clean
rm -f *.1