chiark / gitweb /
generic build fix: makefile multi-line incompatibility fix
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 22 May 2010 18:39:30 +0000 (19:39 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 22 May 2010 18:39:30 +0000 (19:39 +0100)
ipif/Makefile

index ce3f44094d732c3d5c121eb99b8054c60dcc626e..a34a85ff0d41407b0238b3dc23f3de715ac52415 100644 (file)
@@ -53,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 $@