> > On Mon, August 4, 2008 3:38 pm, Paul Smith wrote: > > On Mon, 2008-08-04 at 15:31 -0700, Rick Flower wrote: > >> ifneq ($(filter release,$(MAKECMDGOALS)),) > >> mode = foo > >> endif > > > > You don't happen to have a TAB indenting the assignment to "mode" here, > > do you? > > > > Tsk tsk. > > Doh! You hit the nail on the head! I just removed the tab and put a few > spaces in its place and now it works fine.. That's a first for me.. Sorry > and > many Thanks! > > > Just for future reference you can run a 'cat -T' to show tabs in files. One of the first things I check when my makefile doesn't work like I expect. Or if you happen to use vim there are lots of ways, one way is to add this to your .vimrc " Tell vim which characters to show for expanded TABs, " trailing whitespace, and end-of-lines. VERY useful! set listchars=tab:>-,trail:+,eol:$
" F2: Toggle list (display unprintable characters). nnoremap <F2> :set list!<CR> _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
