aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRiley Beckett <rbeckettvt@gmail.com>2026-07-25 22:43:05 -0400
committerRiley Beckett <rbeckettvt@gmail.com>2026-07-25 22:43:05 -0400
commit761d588f89dbca7604b1c27db9c766f7202cf7a7 (patch)
tree913c7b94ce35fd18a14c3ed2a3f66e3a4e297952 /Makefile
parentd863365ff0687a3cc04e0a52965f6a012b6980e7 (diff)
fix make install to use DESTDIR1.1.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index fa7465e..b980726 100644
--- a/Makefile
+++ b/Makefile
@@ -57,16 +57,16 @@ clean:
rm -rf $(BIN) $(OBJDIR) swenu-exes
install: all
- install -m 755 ./$(BIN) $(PREFIX)/bin
- install -m 755 ./swenu-run $(PREFIX)/bin
- install -m 755 ./swenu-path $(PREFIX)/bin
- install -m 755 ./swenu-exes $(PREFIX)/bin
+ install -m 755 ./$(BIN) $(DESTDIR)/$(PREFIX)/bin
+ install -m 755 ./swenu-run $(DESTDIR)/$(PREFIX)/bin
+ install -m 755 ./swenu-path $(DESTDIR)/$(PREFIX)/bin
+ install -m 755 ./swenu-exes $(DESTDIR)/$(PREFIX)/bin
uninstall:
- rm -f $(PREFIX)/bin/$(BIN)
- rm -f $(PREFIX)/bin/swenu-run
- rm -f $(PREFIX)/bin/swenu-path
- rm -f $(PREFIX)/bin/swenu-exes
+ rm -f $(DESTDIR)/$(PREFIX)/bin/$(BIN)
+ rm -f $(DESTDIR)/$(PREFIX)/bin/swenu-run
+ rm -f $(DESTDIR)/$(PREFIX)/bin/swenu-path
+ rm -f $(DESTDIR)/$(PREFIX)/bin/swenu-exes
run: all
./swenu-run.sh