Re: String equality and make

2007-08-02 Thread Brian L. Troutwine
Thank you very much, Paul. Brian Paul Jarc wrote: > "Brian L. Troutwine" <[EMAIL PROTECTED]> wrote: >> TYPE := `cat /tmp/bag_type` > > This uses the literal value "`cat /tmp/bag_type`"; backticks aren't > special to make. You want this instead: > TYPE := $(shell cat /tmp/bag_type) > >

Re: String equality and make

2007-08-02 Thread Paul Jarc
"Brian L. Troutwine" <[EMAIL PROTECTED]> wrote: > TYPE := `cat /tmp/bag_type` This uses the literal value "`cat /tmp/bag_type`"; backticks aren't special to make. You want this instead: TYPE := $(shell cat /tmp/bag_type) paul

String equality and make

2007-08-02 Thread Brian L. Troutwine
I'm relatively new to make and am having difficulty with string equality. Browsing through this newgroup it seems that such questions are not uncommon. I apologize for having to ask a slight variation of a repeated questions. I've a make file very much like the following: TYPE := `cat /t