%% "Paul D. Smith" <[EMAIL PROTECTED]> writes:
pds> PERLFUNC = '\
pds> BEGIN{print "#jidanni ~root/config auto changed"}\
pds> s/^server pool.ntp.org/#jidanni off $&/;\
pds> END{print "#more jidanni ~root/config auto changes";\
pds> print "server $_.stdtime.gov.tw offline maxdelay 1" for qw/tick \
pds> time tock/; print "mailonchange [EMAIL PROTECTED] 12";\
pds> print "#jidanni: restarting in /etc/ppp/ip-up.d/chrony so \
pds> can use hostnames\n#http://www.stdtime.gov.tw/ntp/CONF.HTM"}'
pds> all:
pds> perl -e $(PERLFUNC)
You can also consider whether using target-specific variables makes
things more or less readable:
all: PERLFUNC = ...
all:
perl -e $(PERLFUNC)
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make