>>> On 9/5/2012 7:02 PM, Tim Daneliuk wrote: ... >> Here's the line that is failing: >> >> 2LATEX = $(shell which rst2latex.py rst2latex | tr '\012' ' ' | awk '{print $1}') --stylesheet=parskip > > Bryan's example is using := for assignment. ...That wasn't it, as it turned out. The problem was in the awk statement. Instead of: awk '{print $1}' I had to use: awk '{print $$1}' This is necessary because $1 is a *make* variable but $$1 is the awk variable I wanted ($1).... D'uh .... ----------------------------------------------------------------------- Tim DaneliukSomewhat OT: Using Pipes Inside a GNU Make File
'via Blog this'
Thank you! I've been confused about this.
ReplyDeleteGreat Article
ReplyDeleteB.Tech Final Year Projects for CSE in JavaScript
FInal Year Project Centers in Chennai
JavaScript Training in Chennai
JavaScript Training in Chennai