Thanks.
I already tried this but I am failing:
$ cat Makefile.PL use warnings; use strict; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'Math::Calc', VERSION => '1.0', PREREQ_PM => {}, # e.g., Module::Name => 1.1 EXE_FILES => [ 'scripts/calc.pl' ], ABSTRACT_FROM => 'lib/Math/Calc.pod', # retrieve abstract from + pod AUTHOR => 'Procesadores de Lenguaje <casiano@ull.es>', depend => { 'test' => 'calc' }, ); sub MY::postamble { return <<'EOM'; calc: lib/Math/Calc.pm lib/Math/Calc.pm: lib/Math/Calc.eyp eyapp -s -m Math::Calc -o lib/Math/Calc.pm lib/Math/Calc.eyp myclean: veryclean rm -f Math-Calc-*.tar.gz cover -delete rmcalc: rm -f lib/Math/Calc.pm mytest: calc test remotetest: calc dist remotetest.pl ${DISTVNAME}.tar.gz orion beowulf coverage: calc cover -delete make HARNESS_PERL_SWITCHES=-MDevel::Cover test cover EOM }
It says s.t. like:
$ perl Makefile.PL Writing Makefile for Math::Calc $ make test Makefile:779: *** el archivo de objetivos `test' tiene líneas con : y +::. Alto.
Waht I am doing wrong?
I also unsuccessfully tried to add a colon to the target descriptor:
depend => { 'test:' => 'calc' },

In reply to Re^2: Adding dependencies to the generated Makefile by casiano
in thread Adding dependencies to the generated Makefile by casiano

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.