Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit153b98d12b15ccdd74fd072d65736c5d9df43c42 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-01-08 06:50:54 +0100
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2019-01-08 06:51:12 +0100
Files8cb9b493b665a26cc83a7478a11da0f8fdd63e49
goodwolf-153b98d12b15ccdd74fd072d65736c5d9df43c42.tar
goodwolf-153b98d12b15ccdd74fd072d65736c5d9df43c42.tar.gz
goodwolf-153b98d12b15ccdd74fd072d65736c5d9df43c42.zip
Parent3ad61f709969902c5cd75d188fb4ec915f792dce (diff)
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
1 files changed, 2 insertions, 1 deletions
-rw-r--r--Makefile3
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