Re: How to echo a "$" to a file in Makefile.am

2010-07-02 Thread Stefano Lattarini
At Friday 02 July 2010, Lyre wrote: > In Makefile.am, I wrote an custom rule which append the program's > path to the startup script. it looks like: > > echo $(datadir)/myprogram/program-name $OPTIONS >> /bin/program-name > > I want to get : > > /usr/share/myprogram/program-name $OPTI

Re: How to echo a "$" to a file in Makefile.am

2010-07-02 Thread Eric Blake
On 07/02/2010 08:34 AM, Lyre wrote: > In Makefile.am, I wrote an custom rule which append the program's path to > the startup script. it looks like: > > echo $(datadir)/myprogram/program-name $OPTIONS >> /bin/program-name > > I want to get : > > /usr/share/myprogram/program-name $OPTION

How to echo a "$" to a file in Makefile.am

2010-07-02 Thread Lyre
In Makefile.am, I wrote an custom rule which append the program's path to the startup script. it looks like: echo $(datadir)/myprogram/program-name $OPTIONS >> /bin/program-name I want to get : /usr/share/myprogram/program-name $OPTIONS however, waht I accully get is : /usr/share/