manpages: don’t regenerate manpages on every 'make'
Conflicts: man/Makefile
This commit is contained in:
parent
9c20e7f726
commit
1a10a089e8
20
man/Makefile
20
man/Makefile
|
@ -1,12 +1,18 @@
|
||||||
all:
|
A2M:=a2x -f manpage --asciidoc-opts="-f asciidoc.conf"
|
||||||
a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3.man
|
|
||||||
a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3-msg.man
|
all: i3.1 i3-msg.1 i3-input.1 i3-nagbar.1 i3-wsbar.1
|
||||||
a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3-input.man
|
|
||||||
a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3-nagbar.man
|
%.1: %.man asciidoc.conf
|
||||||
pod2man ../i3-wsbar > i3-wsbar.1
|
${A2M} $<
|
||||||
|
|
||||||
|
i3-wsbar.1: ../i3-wsbar
|
||||||
|
pod2man $^ > $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
for file in "i3 i3-msg i3-input i3-nagbar"; \
|
for file in $$(echo i3 i3-msg i3-input i3-nagbar i3-wsbar); \
|
||||||
do \
|
do \
|
||||||
rm -f $${file}.1 $${file}.html $${file}.xml; \
|
rm -f $${file}.1 $${file}.html $${file}.xml; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
rm -f *.1
|
||||||
|
|
Loading…
Reference in New Issue