From e8fe435507c29cd7bf8e5df335fa521328b7549b Mon Sep 17 00:00:00 2001
From: Jari Vetoniemi <mailroxas@gmail.com>
Date: Mon, 1 May 2017 23:35:10 +0300
Subject: Simplify the install rule

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

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index d35a6ed..296c758 100644
--- a/Makefile
+++ b/Makefile
@@ -43,8 +43,7 @@ uneaf: private LDLIBS += $(shell pkg-config --libs-only-l zlib)
 uneaf: src/bin/fw/uneaf.c
 
 install-bin: $(bins)
-	install -dm755 "$(DESTDIR)$(PREFIX)$(bindir)"
-	install -m755 $^ "$(DESTDIR)$(PREFIX)$(bindir)/"
+	install -Dm755 $^ "$(DESTDIR)$(PREFIX)$(bindir)"
 
 install: install-bin
 
-- 
cgit v1.2.3-70-g09d2