Skip to content

Commit

Permalink
Fix prefix bindir
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Feb 11, 2014
1 parent 105675a commit 709710a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
include ../i-nex.mk

install: install-set-executables
$(INSTALL) 0755 i-nex $(DESTDIR)$(PREFIX)$(bindir)
$(INSTALL) 0755 i-nex-lspci $(DESTDIR)$(PREFIX)$(bindir)
$(INSTALL) 0755 i-nex $(DESTDIR)$(bindir)
$(INSTALL) 0755 i-nex-lspci $(DESTDIR)$(bindir)

install-set-executables:
chmod +x i-nex
chmod +x i-nex-lspci
mkdir -p $(DESTDIR)$(PREFIX)$(bindir)
mkdir -p $(DESTDIR)$(bindir)
2 changes: 1 addition & 1 deletion i-nex.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CC = gcc
PKG_INSTALL = apt-get install
AS_ROOT = sudo
CFLAGS = -g -Wall
bindir = /usr/bin
bindir = $(PREFIX)/bin
INSTALL = install -m
BUILD_SELF_EXECUTABLE = ./build-selfexecutable
RM_COM = rm
Expand Down

0 comments on commit 709710a

Please sign in to comment.