The following commit has been merged in the master branch: commit 75c9f1095fe1372954ec15b0f2e3dc1b044ea553 Author: Sven Eckelmann sven@narfation.org Date: Sat May 21 14:28:12 2011 +0200
batctl: Build binary before installing it
Signed-off-by: Sven Eckelmann sven@narfation.org
diff --git a/Makefile b/Makefile index a06177d..c8cb62f 100755 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ $(BINARY_NAME): $(OBJ) Makefile clean: rm -f $(BINARY_NAME) $(OBJ) $(DEP)
-install: +install: $(BINARY_NAME) mkdir -p $(SBINDIR) install -m 0755 $(BINARY_NAME) $(SBINDIR)