]> git.ipfire.org Git - people/ms/mstpd.git/commitdiff
Add install target to Makefile.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Nov 2011 19:54:47 +0000 (20:54 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 9 Nov 2011 19:54:47 +0000 (20:54 +0100)
Makefile

index 30957dde9e7ab53e697266973287725389d33b34..4d467899f36e475c431037ffad6c00db30bbf49f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,12 @@ mstpctl: $(CTLOBJECTS)
 clean:
        rm -f *.o *~ .depend.bak mstpd mstpctl
 
+install: all
+       -mkdir -pv $(DESTDIR)/sbin
+       install -m 755 mstpd $(DESTDIR)/sbin/mstpd
+       install -m 755 mstpctl $(DESTDIR)/sbin/mstpctl
+       install -m 755 bridge-stp $(DESTDIR)/sbin/bridge-stp
+
 romfs: all
        $(ROMFSINST) /sbin/mstpd
        $(ROMFSINST) /sbin/mstpctl