X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=man%2FMakefile;h=e4cee0cc3c5433e8ad7fb981670e2aebeebb13ed;hb=6d94231f745bfa9c85c8cec8bf862cdfcc8a07d7;hp=ed72ebed47866167d417bbdd36e0841429918f3e;hpb=2728c0246794df9eae0a12d77f32d7bd0031df6f;p=i3%2Fi3 diff --git a/man/Makefile b/man/Makefile index ed72ebed..e4cee0cc 100644 --- a/man/Makefile +++ b/man/Makefile @@ -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