Skip to content

Commit 5d39b64

Browse files
committed
Use DESTDIR for Fox/gnu.mak
1 parent a279c6d commit 5d39b64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Fox/gnu.mak

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
BUILD_DIR := $(CURDIR)/..
22

3+
DESTDIR ?= /usr/local/bin
4+
35
ifeq ($(shared),1)
46
shared-newmat=1
57
shared-wxgtk=1
@@ -35,7 +37,7 @@ tidy:
3537

3638
#install Fox in /usr/local/bin
3739
install:
38-
install -m 755 src/Fox /usr/local/bin
40+
install -m 755 src/Fox $(DESTDIR)
3941

4042
update:
4143
cd $(BUILD_DIR) && git pull

0 commit comments

Comments
 (0)