]> git.sur5r.net Git - i3/i3/blobdiff - man/Makefile
Move mans to the new Makefile layout
[i3/i3] / man / Makefile
index 8b82c40d129cb3bd6e10052ecd266f8fd34bcacc..e4cee0cc3c5433e8ad7fb981670e2aebeebb13ed 100644 (file)
@@ -1,11 +1,7 @@
 all:
-       a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3.man
-       a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3-msg.man
-       a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3-input.man
-       pod2man ../i3-wsbar > i3-wsbar.1
+       $(MAKE) -C .. mans
 
 clean:
-       for file in "i3 i3-msg i3-input"; \
-       do \
-               rm -f $${file}.1 $${file}.html $${file}.xml; \
-       done
+       $(MAKE) -C .. clean-mans
+
+.PHONY: all clean