summaryrefslogtreecommitdiff
blob: 142c6ab33b85ad5d7a6d1b893a0acaca5504fe67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/makefile b/src/makefile
index 900c425..af1250e 100644
--- a/src/makefile
+++ b/src/makefile
@@ -59,7 +59,7 @@ edbrowse: $(EBOBJS) tcp.o dbstubs.o
 
 #  You probably need to be root to do this.
 install:
-	install -Dm755 edbrowse $(bindir)/edbrowse
+	install -Dm755 edbrowse $(DESTDIR)$(bindir)/edbrowse
 
 #  If you had to build the javascript library yourself,
 #  link it into /usr/lib.