[08/14] batmand: Build binary before installing it
Commit Message
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
This patch depends on other patches submitted earlier:
- batmand: Fix FTBFS on second build attempt
- batmand: Remove obsolete creation of source packages
- batmand: Remove subversion/svk revision information
- batmand: Use nproc to get number of available processors
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
@@ -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)