http://www.perlmonks.org?node_id=1038697


in reply to perl from makefile

This is Makefile question, not a Perl question. Your Makefile says: "run a command consisting of four lines without printing it". Remove backslashes, and you'll have four different commands, and make will be able to stop the execution if Perl parser fails. You can also add set -e; \ before perl ..., this will make the subshell which is running your multi-line command fail if any of the following commands fail.