make: install - remove -D for better cross-platform compatibility

use mkdir -p
This commit is contained in:
@RandyMcMillan 2022-12-20 18:00:18 -05:00 committed by randymcmillan
parent 770cc8bcce
commit 80cd32af54
No known key found for this signature in database
GPG Key ID: 85495A938B7F78DF

View File

@ -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 > $@