--- batman-III-0.2.0a.old/Makefile 2007-02-28 15:41:11.000000000 +0100 +++ batman-III-0.2.0a/Makefile 2007-02-28 15:42:02.000000000 +0100 @@ -27,6 +27,7 @@ CFLAGS = -Wall -O0 -g3 LDFLAGS = -lpthread #LDFLAGS = -static -lpthread +SBINDIR = $(INSTALL_PREFIX)/usr/sbin UNAME=$(shell uname) @@ -67,3 +68,7 @@ clean: rm -f batmand batmand-mips* *.o *~ + +install: + mkdir -p $(SBINDIR) + install -m 755 batmand $(SBINDIR)