Makefile: use proper perms on install

This commit is contained in:
ave 2020-12-05 00:27:48 +03:00
parent 87c3e4928a
commit 3cfb0478dd

View file

@ -14,7 +14,7 @@ $(TARGET): $(TARGET).cpp
$(CC) $(CFLAGS) -o $(TARGET) $(DEPS) $(TARGET).cpp $(LIBS)
install: $(TARGET)
install -m 644 $(TARGET) $(DESTDIR)$(PREFIX)/bin/
install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/$(TARGET)