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
parent f9ec1d1aa3
commit 1da8107f9e
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 > $@