[CRIU] [PATCH 3/3] doc/Makefile: fix deps
Kir Kolyshkin
kir at openvz.org
Tue Oct 4 18:59:13 PDT 2016
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 at openvz.org>
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
Documentation/Makefile | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index 6cb90f6..9668f42 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -38,10 +38,7 @@ $(FOOTER): ../Makefile.versions
$(Q) echo ":man version: $(CRIU_VERSION)" >> $@
$(Q) echo ":man manual: CRIU Manual" >> $@
-$(SRC): $(FOOTER)
- @true
-
-%.8: %.txt
+%.8: %.txt $(FOOTER) custom.xsl
$(call msg-gen, $@)
$(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.8,%.xml,$@) $<
$(Q) $(XMLTO) man -m custom.xsl $(patsubst %.8,%.xml,$@) 2>/dev/null
--
2.7.4
More information about the CRIU
mailing list