aboutsummaryrefslogtreecommitdiff
path: root/i3-config-wizard
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-config-wizard
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-config-wizard')
-rw-r--r--i3-config-wizard/i3-config-wizard.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/i3-config-wizard/i3-config-wizard.mk b/i3-config-wizard/i3-config-wizard.mk
index 1dab6452..900893f5 100644
--- a/i3-config-wizard/i3-config-wizard.mk
+++ b/i3-config-wizard/i3-config-wizard.mk
@@ -20,8 +20,8 @@ i3-config-wizard/i3-config-wizard: libi3.a $(i3_config_wizard_OBJECTS)
install-i3-config-wizard: i3-config-wizard/i3-config-wizard
echo "[i3-config-wizard] Install"
- $(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
- $(INSTALL) -m 0755 i3-config-wizard/i3-config-wizard $(DESTDIR)$(PREFIX)/bin/
+ $(INSTALL) -d -m 0755 $(DESTDIR)$(EXEC_PREFIX)/bin
+ $(INSTALL) -m 0755 i3-config-wizard/i3-config-wizard $(DESTDIR)$(EXEC_PREFIX)/bin/
clean-i3-config-wizard:
echo "[i3-config-wizard] Clean"