X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/303ef1e6b17ff6b4bed91317c0b93350d837b734..7d87e78a120c59391dc7f522875363b3c5c05336:/Makefile diff --git a/Makefile b/Makefile index 76fcd80..7c48446 100644 --- a/Makefile +++ b/Makefile @@ -49,12 +49,12 @@ install: all $(INSTALL) -D -o root -g root -m 0600 etc/l2tpns.cfg.default $(etcdir)/l2tpns.cfg $(INSTALL) -D -o root -g root -m 0644 etc/ip_pool.default $(etcdir)/l2tpns.ip_pool $(INSTALL) -D -o root -g root -m 0600 etc/users.default $(etcdir)/l2tpns.users - for PLUGIN in $(PLUGINS); do - $(INSTALL) -o root -g root -m 0755 $(PLUGIN) $(libdir)/$(PLUGIN) + for PLUGIN in $(PLUGINS); do \ + $(INSTALL) -o root -g root -m 0755 $(PLUGIN) $(libdir)/$(PLUGIN); \ done - if [ ! -e /dev/net/tun ]; then - mkdir /dev/net - mknod /dev/net/tun c 10 200 + if [ ! -e /dev/net/tun ]; then \ + mkdir /dev/net; \ + mknod /dev/net/tun c 10 200; \ fi %.so: %.c