[GRASS-dev] some backports to 6.3.0-CVS branch

Glynn Clements glynn at gclements.plus.com
Fri Oct 26 17:33:04 EDT 2007


Benjamin Ducke wrote:

> > Using a recursive make should fix it:
> > 
> > --- lib/vector/rtree/Makefile	19 Oct 2007 13:45:53 -0000	1.10
> > +++ lib/vector/rtree/Makefile	26 Oct 2007 09:28:19 -0000
> > @@ -15,9 +15,8 @@
> >  HEADERS := $(RTLINC)/card.h $(RTLINC)/index.h $(RTLINC)/split_q.h \
> >  	$(ARCH_INCDIR)/rtree.h
> >  
> > -default: lib
> > -
> > -lib: $(HEADERS)
> > +default: $(HEADERS)
> > +	$(MAKE) lib
> >  
> >  $(RTLINC):
> >  	$(MKDIR) $@
> > 
> 
> Sorry, but this still results in:
> 
> make: *** No rule to make target
> `/src/grass6/dist.i686-pc-mingw32/include/grass/rtree/card.h', needed by
> `default'.  Stop.
> 
> (the only difference being that make now bails out before compiling
> any objects in rtree).

Okay, that's a different issue. I have no idea what, though; the
required rule is quite definitely there.

> > What happens if you enter the following directly into the shell?
> > 
> > 	if [ "" != "" ] ; then  for dir in  ; do  make -C $dir clean ;  done ;  fi
> > 
> 
> sh: syntax error near unexpected token `;'

I don't think that there's much can be done there; you'll just have to
live with the noise.

-- 
Glynn Clements <glynn at gclements.plus.com>




More information about the grass-dev mailing list