From: Michael Tremer Date: Sat, 9 Oct 2010 19:21:50 +0000 (+0200) Subject: Add Makefile. X-Git-Tag: 001~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa574002b34b02a90caf6261ddfa2913e2b7feb9;p=network.git Add Makefile. --- diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..eb33da0e --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ + +NAME = network +VER = 0.99.0 + +DESTDIR= + +all: + @echo "Nothing to do here." + +install: + -mkdir -pv $(DESTDIR)/etc/{network,ppp} + -mkdir -pv $(DESTDIR)/lib/network + -mkdir -pv $(DESTDIR)/sbin + -mkdir -pv $(DESTDIR)/var/log/network + + install -m 755 -v $(DIR_APP)/network $(DESTDIR)/sbin + + cp -rfv $(DIR_APP)/{hooks,header*,functions*} $(DESTDIR)/lib/network/ + + install -m 755 -v $(DIR_APP)/ppp/ip-updown $(DESTDIR)/etc/ppp + ln -svf ip-updown $(DESTDIR)/etc/ppp/ip-pre-up + ln -svf ip-updown $(DESTDIR)/etc/ppp/ip-up + ln -svf ip-updown $(DESTDIR)/etc/ppp/ip-down + +dist: + git archive --format tar --prefix $(NAME)-$(VER)/ HEAD | gzip -9 > \ + $(NAME)-$(VER).tar.gz