The following commit has been merged in the master branch: commit 826baf4b7ebfaa0ffd02ddd9b7de2051de9577e1 Author: Sven Eckelmann sven@narfation.org Date: Sat May 21 15:10:36 2011 +0200
batmand: Build binary before installing it
Signed-off-by: Sven Eckelmann sven@narfation.org
diff --git a/Makefile b/Makefile index 804bdd4..df2f5b2 100755 --- a/Makefile +++ b/Makefile @@ -86,7 +86,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)