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 $OPTIONS > > however, waht I accully get is : > > /usr/share/myprogram/program-name PTIONS > > I try to add an '\' before '$', but it doesn't works.
Automake borrows from make(1) syntax - to print $, use $$. -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature