From 153b98d12b15ccdd74fd072d65736c5d9df43c42 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 8 Jan 2019 06:50:54 +0100 Subject: Makefile: move from install to mkdir+cp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mkdir and cp are standard, install isn’t and the automatic directory creation option seems to conflict between GNU and NetBSD --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c2339f6..309bcbd 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,8 @@ badwolf: badwolf.c $(CC) $(CFLAGS) $(LIBS) -o $@ $@.c install: badwolf - install badwolf $(DESTDIR)$(PREFIX)/bin/badwolf + mkdir -p $(DESTDIR)$(PREFIX)/bin + cp -p badwolf $(DESTDIR)$(PREFIX)/bin/badwolf clean: rm badwolf -- cgit v1.3.1-23-gd82d