]> git.sur5r.net Git - i3/i3/blobdiff - man/Makefile
Merge pull request #1965 from Airblader/feature-typed-commands-parser
[i3/i3] / man / Makefile
index ed72ebed47866167d417bbdd36e0841429918f3e..e4cee0cc3c5433e8ad7fb981670e2aebeebb13ed 100644 (file)
@@ -1,18 +1,7 @@
-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 $^ > $@
+all:
+       $(MAKE) -C .. mans
 
 clean:
-       for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar); \
-       do \
-               rm -f $${file}.1 $${file}.html $${file}.xml; \
-       done
+       $(MAKE) -C .. clean-mans
 
-distclean: clean
-       rm -f *.1
+.PHONY: all clean