commit: 153b98d12b15ccdd74fd072d65736c5d9df43c42
parent: 3ad61f709969902c5cd75d188fb4ec915f792dce
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 8 Jan 2019 06:50:54 +0100
Makefile: move from install to mkdir+cp
mkdir and cp are standard, install isn’t and the automatic directory creation
option seems to conflict between GNU and NetBSD
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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