summaryrefslogtreecommitdiff
path: root/dev-util/conf2struct/files/conf2struct-0_pre0-dest-exists.patch
blob: cb345f3588cc5e75f7b8f1b918edd620528b0896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From f4bc59c6cad87f6a237f92ea4c54e38705beeaac Mon Sep 17 00:00:00 2001
From: Craig Andrews <candrews@integralblue.com>
Date: Fri, 5 Jul 2019 16:24:14 -0400
Subject: [PATCH] In install, ensure destination exists

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index bf9bae3..8bebca4 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,7 @@ checker: confcheck.o
 
 
 install:
+	mkdir -p $(DESTDIR)/$(bindir)
 	install -c conf2struct $(DESTDIR)$(bindir)/conf2struct
 	install -c confcheck $(DESTDIR)$(bindir)/confcheck