commit b424602ebc2dc26a3c974ee2a87ab745821491b6 parent ae313911153b9c9ca8bef8ded97b95c0c2f49624 Author: Leonardo Hernández Hernández <leohdz172@protonmail.com> Date: Thu, 31 Mar 2022 09:39:34 -0600 add DESTDIR Diffstat:
| M | Makefile | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -15,11 +15,11 @@ clean: rm -f dwl *.o *-protocol.h *-protocol.c install: dwl - install -Dm755 dwl $(PREFIX)/bin/dwl - install -Dm644 dwl.1 $(MANDIR)/man1/dwl.1 + install -Dm755 dwl $(DESTDIR)$(PREFIX)/bin/dwl + install -Dm644 dwl.1 $(DESTDIR)$(MANDIR)/man1/dwl.1 uninstall: - rm -f $(PREFIX)/bin/dwl $(MANDIR)/man1/dwl.1 + rm -f $(DESTDIR)$(PREFIX)/bin/dwl $(DESTDIR)$(MANDIR)/man1/dwl.1 .PHONY: all clean install uninstall