summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-03-08 18:30:19 -0500
committerJune McEnroe <june@causal.agency>2021-03-08 18:30:19 -0500
commit1dffec8211117167ab577c119d05abfab996cbcf (patch)
tree243d3893a43bc42927f27c26d54c23f7138b03ad /Makefile
parentRemove mention of SORT extension (diff)
downloadbubger-1dffec8211117167ab577c119d05abfab996cbcf.tar.gz
bubger-1dffec8211117167ab577c119d05abfab996cbcf.zip
Respect DESTDIR 1.0
Diffstat (limited to 'Makefile')
-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