Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: perl from makefile

by choroba (Canon)
on Jun 13, 2013 at 07:31 UTC ( #1038699=note: print w/ replies, xml ) Need Help??


in reply to perl from makefile

Makefile stops, if the command returns a non-zero exit status. In a command list (i.e. simple commands separarated by semicolons), the exit status is the status of the last command in the list. You have two options:

  1. Remove the semicolons and backslashes. Make will run each line separately and stop if there is a problem.
  2. Replace each semicolon with a &&. That way, the shell will stop on the first error (short circuiting the "and").
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: perl from makefile
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1038699]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-07-06 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (85 votes), past polls