aboutsummaryrefslogtreecommitdiff
path: root/i3-nagbar
diff options
context:
space:
mode:
authorThomas Anderson <tanderson@caltech.edu>2015-04-10 14:09:00 -0700
committerThomas Anderson <tanderson@caltech.edu>2015-04-12 17:59:30 -0700
commit196e1d0971e756524d30561b3c3e9a32ce4f5710 (patch)
tree43cc16b9d2af810eb33c8bdbd96bdaae5141b099 /i3-nagbar
parent1546891e6ab008b0383ebffe85ec0e761f58b7e1 (diff)
downloadi3-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-nagbar')
-rw-r--r--i3-nagbar/i3-nagbar.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3-nagbar/i3-nagbar.mk b/i3-nagbar/i3-nagbar.mk
index e98d6582..aba3c09a 100644
--- a/i3-nagbar/i3-nagbar.mk
+++ b/i3-nagbar/i3-nagbar.mk
@@ -20,8 +20,8 @@ i3-nagbar/i3-nagbar: libi3.a $(i3_nagbar_OBJECTS)
install-i3-nagbar: i3-nagbar/i3-nagbar
echo "[i3-nagbar] Install"
- $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) -m 0755 i3-nagbar/i3-nagbar $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(EXEC_PREFIX)/bin
+ $(INSTALL) -m 0755 i3-nagbar/i3-nagbar $(DESTDIR)$(EXEC_PREFIX)/bin/
clean-i3-nagbar:
echo "[i3-nagbar] Clean"