tMakefile: add DESTDIR support - sacc - sacc(omys), simple console gopher client (mirror) (HTM) git clone https://git.parazyd.org/sacc (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 19ce7fd296bf5b5358b2d84a071466106ecf9204 (DIR) parent 3eb4964af3ff6bfb34cea63e8a5265e76e964b3a (HTM) Author: Quentin Rameau <quinq@fifth.space> Date: Mon, 22 Jan 2018 22:35:52 +0100 Makefile: add DESTDIR support Diffstat: M Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -21,9 +21,9 @@ clean: rm -f $(BIN) $(OBJ) install: $(BIN) - mkdir -p $(PREFIX)/bin/ - cp -f $(BIN) $(PREFIX)/bin/ - chmod 555 $(PREFIX)/bin/$(BIN) + mkdir -p $(DESTDIR)$(PREFIX)/bin/ + cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin/ + chmod 555 $(DESTDIR)$(PREFIX)/bin/$(BIN) uninstall: - rm -f $(PREFIX)/bin/$(BIN) + rm -f $(DESTDIR)$(PREFIX)/bin/$(BIN)