From 1da8107f9ea73da8c902a6b518e82455610b6123 Mon Sep 17 00:00:00 2001 From: "@RandyMcMillan" Date: Tue, 20 Dec 2022 18:00:18 -0500 Subject: [PATCH] make: install - remove -D for better cross-platform compatibility use mkdir -p --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index f7fe313..4716419 100644 --- a/Makefile +++ b/Makefile @@ -55,9 +55,10 @@ nostril: $(HEADERS) $(OBJS) $(ARS) $(CC) $(CFLAGS) $(OBJS) $(ARS) -o $@ install: all - install -Dm644 doc/nostril.1 $(PREFIX)/share/man/man1/nostril.1 - install -Dm755 nostril $(PREFIX)/bin/nostril - install -Dm755 nostril-query $(PREFIX)/bin/nostril-query + mkdir -p $(PREFIX)/bin + install -m644 doc/nostril.1 $(PREFIX)/share/man/man1/nostril.1 + install -m755 nostril $(PREFIX)/bin/nostril + install -m755 nostril-query $(PREFIX)/bin/nostril-query config.h: configurator ./configurator > $@