mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-20 16:51:37 +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
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ check:
|
|||
$$B --version > /dev/null || exit 1; \
|
||||
done
|
||||
|
||||
ifeq ($(CRIU_VERSION),)
|
||||
include ../Makefile.versions
|
||||
endif
|
||||
$(FOOTER): ../Makefile.versions
|
||||
$(call msg-gen, $@)
|
||||
$(Q) echo ":doctype: manpage" > $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue