From 81795a9879fa25a00839224e3f5a1e9328bf5c6d Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Tue, 20 Mar 2018 11:20:35 +0000 Subject: [PATCH 1/3] build: Fix whitespace Remove extraneous whitespace and format `Makefile` more consistently. Signed-off-by: James O. D. Hunt --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 64b40d8a93..11cd37c46a 100644 --- a/Makefile +++ b/Makefile @@ -4,17 +4,16 @@ # SPDX-License-Identifier: Apache-2.0 # - all: runtime runtime: cd cli; \ make -install : + +install: cd cli; \ make install - help: @printf "To build a Kata Containers runtime:\n" @printf "\n" From 661a6ae85a6bd940c368cccbaaca145712671032 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Tue, 20 Mar 2018 11:21:21 +0000 Subject: [PATCH 2/3] build: Simplify top-level makefile Use `make -C $dir` for simplicity. Fixes #78. Signed-off-by: James O. D. Hunt --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 11cd37c46a..a38fe4af70 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,10 @@ all: runtime runtime: - cd cli; \ - make + make -C cli install: - cd cli; \ - make install + make -C cli install help: @printf "To build a Kata Containers runtime:\n" From 2a564c4f4b8113b79810585b3deffeff5d489004 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Tue, 20 Mar 2018 11:23:08 +0000 Subject: [PATCH 3/3] build: Add a clean rule Add missing `clean` rule. Signed-off-by: James O. D. Hunt --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index a38fe4af70..06b29fdd78 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,9 @@ runtime: install: make -C cli install +clean: + make -C cli clean + help: @printf "To build a Kata Containers runtime:\n" @printf "\n"