develooper Front page | perl.perl5.porters | Postings from January 2005

Re: [ANNOUNCE] ExtUtils::MakeMaker 6.25_07

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
January 4, 2005 13:43
Subject:
Re: [ANNOUNCE] ExtUtils::MakeMaker 6.25_07
Message ID:
20050104214322.GC5912@windhund.schwern.org
On Fri, Dec 31, 2004 at 04:05:29PM -0600, Craig A. Berry wrote:
> # %DCL-W-TKNOVF, command element is too long - shorten
> #  \DSA0:[SYS0.SYSCOMMON.PERL-5_8_4]PERL.EXE -E "chdir 'liar.dir';  system 'MMK/MACRO=(TEST_VERBOSE="1") test /Macro=(LIBPERL_A="LIBPERL.OLB",      LINKTYPE="DYNAMIC",     OPTIMIZE="/NOLIST",     PREFIX="../DUMMY-INSTALL",      DESTDIR="",     PASTHRU_DEFINE="")'
>  if -f 'Descrip
> # %MMK-F-ERRUPD, error status %X000382A0 occurred when updating target TEST

PS  Even with that fix this may still be long.  The full command is:

# See MM_Unix->test
perl -e "
  chdir '%s';  
  system '$(MAKE) test $(MACROSTART)$(PASTHRU)$(MACROEND)' 
      if -f '$(FIRST_MAKEFILE)';
"

Its a portable way to say "go into that directory and run 'make test' if
there is a Makefile".  I wonder if its counting the tabs between each
PASTHRU key/value pair as one character or eight.


-- 
Michael G Schwern     schwern@pobox.com     http://www.pobox.com/~schwern/
Keep your stick on the ice.
    -- Red Green

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About