]> git.sur5r.net Git - i3/i3/blobdiff - man/Makefile
Highlight i3bar ws when changing output w/ mouse.
[i3/i3] / man / Makefile
index cd977dd6d7aa9adaedb72cc5d5872218c40295d2..44b2df6e6e88e2337d30f934eaf5f6cba2033249 100644 (file)
@@ -1,2 +1,18 @@
-all:
-       a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3.man
+A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf"
+
+all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1 i3-config-wizard.1 i3-migrate-config-to-v4.1 i3-sensible-editor.1 i3-sensible-pager.1 i3-sensible-terminal.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 i3-config-wizard i3-migrate-config-to-v4 i3-sensible-editor i3-sensible-pager i3-sensible-terminal); \
+       do \
+               rm -f $${file}.1 $${file}.html $${file}.xml; \
+       done
+
+distclean: clean
+       rm -f *.1