2010-03-27 11:05:26 -04:00
|
|
|
A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf"
|
|
|
|
|
2011-07-31 17:08:25 -04:00
|
|
|
all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1
|
2010-03-27 11:05:26 -04:00
|
|
|
|
|
|
|
%.1: %.man asciidoc.conf
|
|
|
|
${A2M} $<
|
|
|
|
|
|
|
|
i3-wsbar.1: ../i3-wsbar
|
|
|
|
pod2man $^ > $@
|
2011-07-23 15:57:35 -04:00
|
|
|
|
2009-03-15 18:15:16 -04:00
|
|
|
clean:
|
2011-07-31 17:08:25 -04:00
|
|
|
for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar i3-config-wizard); \
|
2009-11-10 08:37:51 -05:00
|
|
|
do \
|
|
|
|
rm -f $${file}.1 $${file}.html $${file}.xml; \
|
|
|
|
done
|
2010-03-27 11:05:26 -04:00
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f *.1
|