about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile8
1 files 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