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

Benjamin Ducke benjamin.ducke at ufg.uni-kiel.de
Fri Oct 26 06:29:52 EDT 2007



Glynn Clements 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).

> 
> 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 `;'

-- 
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg




More information about the grass-dev mailing list