From ca2cee201e29474fe8e73e26ee5ea4dffd3210a0 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 5 Oct 2016 04:59:00 +0300 Subject: [PATCH] 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 Signed-off-by: Kir Kolyshkin Acked-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- Documentation/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Documentation/Makefile b/Documentation/Makefile index 6cb90f657..9668f4246 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