[CRIU] [PATCH 1/4] Documentation/Makefile: set nmkdir

Kir Kolyshkin kir at openvz.org
Mon Sep 19 13:58:16 PDT 2016


I was not able to find a way to make a target in sub-makefile
(such as "cd Documentation && make pdf") without this hack.

If there's a better way, please let me know

Cc: Cyrill Gorcunov <gorcunov at openvz.org>
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 Documentation/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/Makefile b/Documentation/Makefile
index ddd3657..34f611f 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -1,3 +1,4 @@
+__nmk_dir ?= ../scripts/nmk/scripts/
 include $(__nmk_dir)/include.mk
 include $(__nmk_dir)/macro.mk
 
-- 
2.7.4



More information about the CRIU mailing list