Commit ca2cee20 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

doc/Makefile: fix deps

The "$(SRC): $(FOOTER)" dependency listed is incorrect, as criu.txt file
is not dependent on footer.txt. Having said that, criu.8 in fact do
depend on footer.txt but that was not reflected in Makefile. Fix it.

While at it, add the custom.xsl dependency, which was also missing.

Cc: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 9ca1db57
...@@ -38,10 +38,7 @@ $(FOOTER): ../Makefile.versions ...@@ -38,10 +38,7 @@ $(FOOTER): ../Makefile.versions
$(Q) echo ":man version: $(CRIU_VERSION)" >> $@ $(Q) echo ":man version: $(CRIU_VERSION)" >> $@
$(Q) echo ":man manual: CRIU Manual" >> $@ $(Q) echo ":man manual: CRIU Manual" >> $@
$(SRC): $(FOOTER) %.8: %.txt $(FOOTER) custom.xsl
@true
%.8: %.txt
$(call msg-gen, $@) $(call msg-gen, $@)
$(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.8,%.xml,$@) $< $(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.8,%.xml,$@) $<
$(Q) $(XMLTO) man -m custom.xsl $(patsubst %.8,%.xml,$@) 2>/dev/null $(Q) $(XMLTO) man -m custom.xsl $(patsubst %.8,%.xml,$@) 2>/dev/null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment