X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=ipif%2FMakefile;h=a34a85ff0d41407b0238b3dc23f3de715ac52415;hb=44a77f4851d3c819f9b364018a9695f332758a71;hp=879c0136ab96f624ef528aae57c1c13a4724d13b;hpb=6362f12ce73173b77cecddba14e33e6dfa203b7e;p=userv-utils.git diff --git a/ipif/Makefile b/ipif/Makefile index 879c013..a34a85f 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/^\# \-\@\@\@/; \ - ' \ + 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 $@