diff options
author | Thomas Anderson <tanderson@caltech.edu> | 2015-04-10 14:09:00 -0700 |
---|---|---|
committer | Thomas Anderson <tanderson@caltech.edu> | 2015-04-12 17:59:30 -0700 |
commit | 196e1d0971e756524d30561b3c3e9a32ce4f5710 (patch) | |
tree | 43cc16b9d2af810eb33c8bdbd96bdaae5141b099 /i3-input | |
parent | 1546891e6ab008b0383ebffe85ec0e761f58b7e1 (diff) | |
download | i3-196e1d0971e756524d30561b3c3e9a32ce4f5710.tar.gz i3-196e1d0971e756524d30561b3c3e9a32ce4f5710.zip |
Respect EXEC_PREFIX and a users' choice of PKG_CONFIG.
The Makefiles should put binaries in $(EXEC_PREFIX) and
architecture-independent files in $(PREFIX). Also a user may have a
prefixed- pkg-config, as in the case of cross compiling on Exherbo
Linux, so respect the well-accepted $(PKG_CONFIG) variable for this
purpose.
Diffstat (limited to 'i3-input')
-rw-r--r-- | i3-input/i3-input.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i3-input/i3-input.mk b/i3-input/i3-input.mk index 03f4e0a6..be3e2833 100644 --- a/i3-input/i3-input.mk +++ b/i3-input/i3-input.mk @@ -20,8 +20,8 @@ i3-input/i3-input: libi3.a $(i3_input_OBJECTS) install-i3-input: i3-input/i3-input echo "[i3-input] Install" - $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin - $(INSTALL) -m 0755 i3-input/i3-input $(DESTDIR)$(PREFIX)/bin/ + $(INSTALL) -d -m 0755 $(DESTDIR)$(EXEC_PREFIX)/bin + $(INSTALL) -m 0755 i3-input/i3-input $(DESTDIR)$(EXEC_PREFIX)/bin/ clean-i3-input: echo "[i3-input] Clean" |