diff options
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-- | Makefile | 3 |
@@ -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 |