From 1dffec8211117167ab577c119d05abfab996cbcf Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 8 Mar 2021 18:30:19 -0500 Subject: Respect DESTDIR --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ccad855..25577d2 100644 --- a/Makefile +++ b/Makefile @@ -35,9 +35,9 @@ clean: rm -f bubger ${OBJS} tags install: bubger bubger.1 - install -d ${PREFIX}/bin ${MANDIR}/man1 - install bubger ${PREFIX}/bin - install -m 644 bubger.1 ${MANDIR}/man1 + install -d ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANDIR}/man1 + install bubger ${DESTDIR}${PREFIX}/bin + install -m 644 bubger.1 ${DESTDIR}${MANDIR}/man1 uninstall: - rm -f ${PREFIX}/bin/bubger ${MANDIR}/man1/bubger.1 + rm -f ${DESTDIR}${PREFIX}/bin/bubger ${DESTDIR}${MANDIR}/man1/bubger.1 -- cgit 1.4.1