X-Git-Url: https://git.distorted.org.uk/~mdw/userv-utils/blobdiff_plain/6362f12ce73173b77cecddba14e33e6dfa203b7e..0789c49b475067e89dcd39ffd2cf11871dcb7e80:/ipif/Makefile diff --git a/ipif/Makefile b/ipif/Makefile index 879c013..7791058 100644 --- a/ipif/Makefile +++ b/ipif/Makefile @@ -1,6 +1,7 @@ # Makefile for ipif/udptunnel stuff -# Copyright (C) 1999-2000 Ian Jackson +# Copyright (C) 1999-2000,2003 Ian Jackson +# This file is part of ipif, part of userv-utils # # This is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -52,13 +53,12 @@ install-examples: cp *.example $(etcvpn)/. udptunnel-reconf: udptunnel-reconf.pl Makefile - perl -pe ' \ - print "\ -\$$shareuserv= \"$(shareuserv)\";\n\ -\$$etcvpn= \"$(etcvpn)\";\n\ -\$$varlibvpn= \"$(varlibvpn)\";\n" if m#^\# \@\@\@\-#; \ - $$_="" if m/^\# \@\@\@\-/ .. m/^\# \-\@\@\@/; \ - ' \ + set -x; perl -p \ +-e ' print ' \ +-e ' "\$$shareuserv= \"$(shareuserv)\";\n".' \ +-e ' "\$$etcvpn= \"$(etcvpn)\";\n".' \ +-e ' "\$$varlibvpn= \"$(varlibvpn)\";\n" if m#^\# \@\@\@\-#; ' \ +-e ' $$_="" if m/^\# \@\@\@\-/ .. m/^\# \-\@\@\@/; ' \ <$< >$@.new chmod +x $@.new mv -f $@.new $@