Makefile: add DESTDIR support - sacc - sacc(omys), simple console gopher client | |
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/ | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 19ce7fd296bf5b5358b2d84a071466106ecf9204 | |
parent 3eb4964af3ff6bfb34cea63e8a5265e76e964b3a | |
Author: Quentin Rameau | |
Date: Mon, 22 Jan 2018 22:35:52 +0100 Makefile: add DESTDIR support Diffstat: M Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- | |
diff --git a/Makefile b/Makefile | |
@@ -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) |