]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Install only the binaries into BINDIR
authorJouni Malinen <j@w1.fi>
Sun, 29 Jan 2012 12:20:41 +0000 (14:20 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Jan 2012 12:20:41 +0000 (14:20 +0200)
There is no point in installing *.service files into BINDIR.

Signed-hostap: Jouni Malinen <j@w1.fi>

wpa_supplicant/Makefile

index f4c0aa0f547d9df1bd3e4495cf0e34ed0c2b8ffc..fd1c5d3b8d3886f5dccb9033e85de703c7bdf604 100644 (file)
@@ -15,12 +15,13 @@ CFLAGS += -I../src/utils
 
 -include .config
 
-ALL=wpa_supplicant wpa_cli
+BINALL=wpa_supplicant wpa_cli
 
 ifndef CONFIG_NO_WPA_PASSPHRASE
-ALL += wpa_passphrase
+BINALL += wpa_passphrase
 endif
 
+ALL = $(BINALL)
 ALL += systemd/wpa_supplicant.service
 ALL += systemd/wpa_supplicant@.service
 ALL += systemd/wpa_supplicant-nl80211@.service
@@ -51,7 +52,7 @@ mkconfig:
 $(DESTDIR)$(BINDIR)/%: %
        install -D $(<) $(@)
 
-install: $(addprefix $(DESTDIR)$(BINDIR)/,$(ALL))
+install: $(addprefix $(DESTDIR)$(BINDIR)/,$(BINALL))
        $(MAKE) -C ../src install
 
 OBJS = config.o