mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-28 12:57:57 +00:00
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: Kir Kolyshkin <kir@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
This commit is contained in:
parent
cdd7858207
commit
9ca1db576b
@ -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" > $@
|
||||||
|
Loading…
x
Reference in New Issue
Block a user