gri3-wm/man/Makefile

19 lines
385 B
Makefile
Raw Normal View History

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