bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

backslash-newline change: my world has become black


From: Dan Jacobson
Subject: backslash-newline change: my world has become black
Date: Wed, 21 Dec 2005 03:28:51 +0800

I am downgrading make from 3.80+3.81.b4-1 to 3.80-11

You guys have a new backslash-newline deal that is breaking 1000 of my
scripts. E.g.,

  make
  perl -pwle '\
          BEGIN{print "#jidanni ~root/config auto changed"}\
          s/^server pool.ntp.org/#jidanni off $&/;\
          END{print "#more jidanni ~root/config auto changes";\
          print "server $_.stdtime.gov.tw offline maxdelay 1" for qw/tick \
          time tock/; print "mailonchange address@hidden 12";\
          print "#jidanni: restarting in /etc/ppp/ip-up.d/chrony so \
          can use hostnames\n#http://www.stdtime.gov.tw/ntp/CONF.HTM"}' \...
  Useless use of single ref constructor in void context at -e line 6.
  Useless use of reference constructor in void context at -e line 2.
  Useless use of reference constructor in void context at -e line 4.
  Can't call method "BEGIN" without a package or object reference at -e line 2, 
<> line 1.

There is no documentation on how I am supposed to fix my 1000 scripts.

    See GNU make manual section "Command Execution" for details.

Yes there seems to be some details, but no details on how one is
supposed to write multi line perl scripts in a make file ever again.

I dropped python cause I couldn't do multi line scripts easily in
makefiles. Now I have 1000 of these perl multi/one liners and wham, my
life is derailed. I can hold make I suppose at current version forever
maybe but one day that will hold back more and more debian packages.

maybe that is the best way, as i have 1000 of these.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]