Browse code
fix makefile for executable install
Greg Wiley authored on 04/05/2017 22:03:18
Showing 1 changed files
Showing 1 changed files
... | ... |
@@ -63,9 +63,9 @@ ifeq ($(UNAME_S), Linux) |
63 | 63 |
else |
64 | 64 |
@echo installation recipe not known for $(UNAME_S) |
65 | 65 |
endif |
66 |
- mkdir -p @bindir@ |
|
67 |
- cp dual_control @bindir@/ |
|
68 |
- chmod a+x @bindir@/dual_control |
|
66 |
+ mkdir -p $(DESTDIR)/@bindir@ |
|
67 |
+ cp dual_control $(DESTDIR)/@bindir@/ |
|
68 |
+ chmod a+x $(DESTDIR)/@bindir@/dual_control |
|
69 | 69 |
|
70 | 70 |
.PHONY: format |
71 | 71 |
format: |