[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to echo a "$" to a file in Makefile.am
From: |
Lyre |
Subject: |
How to echo a "$" to a file in Makefile.am |
Date: |
Fri, 2 Jul 2010 22:34:17 +0800 |
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.
- How to echo a "$" to a file in Makefile.am,
Lyre <=