Commit 9ca1db57 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

doc/Makefile: make sure CRIU_VERSION is defined

I just discovered that if I run make right from Documentation/ subdir,
CRIU_VERSION is not defined so the generated man page is lacking it.

Let's fix by conditionally including ../Makefile.versions.
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 cdd78582
...@@ -28,6 +28,9 @@ check: ...@@ -28,6 +28,9 @@ check:
$$B --version > /dev/null || exit 1; \ $$B --version > /dev/null || exit 1; \
done done
ifeq ($(CRIU_VERSION),)
include ../Makefile.versions
endif
$(FOOTER): ../Makefile.versions $(FOOTER): ../Makefile.versions
$(call msg-gen, $@) $(call msg-gen, $@)
$(Q) echo ":doctype: manpage" > $@ $(Q) echo ":doctype: manpage" > $@
......
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