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 c914d7a01d
No known key found for this signature in database
GPG Key ID: 85495A938B7F78DF

View File

@ -55,9 +55,11 @@ nostril: $(HEADERS) $(OBJS) $(ARS)
$(CC) $(CFLAGS) $(OBJS) $(ARS) -o $@ $(CC) $(CFLAGS) $(OBJS) $(ARS) -o $@
install: all install: all
install -Dm644 doc/nostril.1 $(PREFIX)/share/man/man1/nostril.1 mkdir -p $(PREFIX)/share/man/man1
install -Dm755 nostril $(PREFIX)/bin/nostril mkdir -p $(PREFIX)/bin
install -Dm755 nostril-query $(PREFIX)/bin/nostril-query 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 config.h: configurator
./configurator > $@ ./configurator > $@