summaryrefslogtreecommitdiff
path: root/sys-apps/noxcuse/files/0001-Makefile-Fix-install-target-dependencies.patch
blob: aaadad8273d9539936a3eb8e97fa4b26ccdbff34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From bbb0e870e5234ed52138c22927bab9dba3c32d3c Mon Sep 17 00:00:00 2001
From: Andrew Wilcox <AWilcox@Wilcox-Tech.com>
Date: Sat, 16 Apr 2016 15:03:12 -0500
Subject: [PATCH 1/2] Makefile: Fix install target dependencies

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

diff --git a/Makefile b/Makefile
index e1ee228..638a354 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ clean:
 bin/%: src/%.c
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
 
-install: $(patsubst bin/%,$(bindir)/%,$(B)) $(patsubst bin/%,$(usrbindir)/%,$(UB))
+install: $(B:%=$(bindir)/%) $(UB:%=$(usrbindir)/%)
 
 size: $(ALL)
 	size -t $(ALL)
-- 
2.7.4