Fix make install, DESTDIR is for the target not source location.

pull/26/head
Frederic Guilbault 2020-08-31 21:35:39 -04:00
rodzic bcf17b7d5f
commit 00c2fc7d25
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -65,5 +65,6 @@ clean:
rm -f $(OBJECTS) $(EXECUTABLE) $(EXECUTABLE).exe
install:
install -d $(DESTDIR)$(PREFIX)/bin
install -m 755 $(DESTDIR)$(EXECUTABLE) "$(PREFIX)/bin/"
install -d -m 755 $(DESTDIR)/$(PREFIX)/bin
install -m 755 $(EXECUTABLE) "$(DESTDIR)/$(PREFIX)/bin/"