X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=man%2FMakefile;h=e4cee0cc3c5433e8ad7fb981670e2aebeebb13ed;hb=8a608ee63a2c7d791211e86c98a3f7c13f905d79;hp=5c3747358a8e266f5e1ac51ae54a4e448bd7aa45;hpb=f88c77945744565c1b637d8fcaab271312bf1a1c;p=i3%2Fi3 diff --git a/man/Makefile b/man/Makefile index 5c374735..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 i3-config-wizard.1 i3-migrate-config-to-v4.1 i3-sensible-editor.1 i3-sensible-pager.1 i3-sensible-terminal.1 i3-dump-log.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 i3-config-wizard i3-migrate-config-to-v4 i3-sensible-editor i3-sensible-pager i3-sensible-terminal i3-dump-log); \ - do \ - rm -f $${file}.1 $${file}.html $${file}.xml; \ - done + $(MAKE) -C .. clean-mans -distclean: clean - rm -f *.1 +.PHONY: all clean