diff options
Diffstat (limited to 'recipes-containers/conmon/files/0001-Makefile-don-t-fail-if-clean-is-called-without-a-bui.patch')
-rw-r--r-- | recipes-containers/conmon/files/0001-Makefile-don-t-fail-if-clean-is-called-without-a-bui.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-containers/conmon/files/0001-Makefile-don-t-fail-if-clean-is-called-without-a-bui.patch b/recipes-containers/conmon/files/0001-Makefile-don-t-fail-if-clean-is-called-without-a-bui.patch new file mode 100644 index 00000000..8d2b473d --- /dev/null +++ b/recipes-containers/conmon/files/0001-Makefile-don-t-fail-if-clean-is-called-without-a-bui.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 6ef63dfcc65d5401bc7cc7170d569cefcdadcb38 Mon Sep 17 00:00:00 2001 | ||
2 | From: Stefan Agner <stefan@agner.ch> | ||
3 | Date: Fri, 30 Aug 2019 17:49:22 +0200 | ||
4 | Subject: [PATCH] Makefile: don't fail if clean is called without a build | ||
5 | |||
6 | Do not fail when calling the clean target without building first. | ||
7 | |||
8 | Upstream-Status: Backport | ||
9 | |||
10 | Signed-off-by: Stefan Agner <stefan@agner.ch> | ||
11 | --- | ||
12 | Makefile | 3 +-- | ||
13 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/Makefile b/Makefile | ||
16 | index fb0e4fb..b525595 100644 | ||
17 | --- a/Makefile | ||
18 | +++ b/Makefile | ||
19 | @@ -66,8 +66,7 @@ bin: | ||
20 | |||
21 | .PHONY: clean | ||
22 | clean: | ||
23 | - rm -f bin/conmon src/*.o | ||
24 | - rmdir bin | ||
25 | + rm -rf bin/ src/*.o | ||
26 | |||
27 | .PHONY: install install.bin install.crio install.podman podman crio | ||
28 | install: install.bin | ||
29 | -- | ||
30 | 2.23.0 | ||
31 | |||