help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Question regarding alias expansion..


From: Rinehart, Raleigh
Subject: RE: Question regarding alias expansion..
Date: Tue, 5 Aug 2008 10:35:23 -0500

>
> 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>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]