From: Michael Tremer Date: Wed, 9 Nov 2011 19:54:47 +0000 (+0100) Subject: Add install target to Makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=253d32682f8b1d3bcc829360d2220d7ea040bb91;p=people%2Fms%2Fmstpd.git Add install target to Makefile. --- diff --git a/Makefile b/Makefile index 30957dd..4d46789 100644 --- 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