help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

here document in recipe


From: Warlich, Christof
Subject: here document in recipe
Date: Tue, 22 Nov 2011 12:04:19 +0100

Hi,

is it possible to have a here document to be executed by Make as a recipe?

E.g, the following passes two commands to be executed on a "remote" host:

ssh address@hidden<mailto:address@hidden> <<EOF
ls /
cat /etc/passwd
EOF

How could I convice Make to accept something similar, considering that I have
quite a number of commands to be executed through ssh, but avoiding to have
a dedicated script file to be copied to the remote host first?

Cheers,

Chris


reply via email to

[Prev in Thread] Current Thread [Next in Thread]