[GRASS-dev] Makefiles: tar failure on Solaris

Markus Neteler neteler at itc.it
Fri Nov 17 12:01:43 EST 2006


On Thu, Nov 16, 2006 at 02:13:23PM +0000, Glynn Clements wrote:
> Markus Neteler wrote:
> 
> > looking again at
> > https://intevation.de/rt/webrt?serial_num=5257&display=History
> > it seems that we have to remove all "tar" usage from Makefiles
> > (as already discovered months ago).
> > 
> > Attached my patch suggestion to lib/symbol/. However, stuff
> > like this obviously remains:
> > 
> > /usr/bin/install: `symbol/extra/CVS' is a directory
> > 
> > How to get rid of that?
> 
> > +	for file in symbol/demo/* ; do $(INSTALL_DATA) $$file $(ETC)/symbol/demo ; done
> 
> Several possible options:

... 
> 3. Use "test -f", e.g.
> 
> 	for file in symbol/demo/* ; do \
> 	[ -f "$$file" ] && $(INSTALL_DATA) $$file $(ETC)/symbol/demo ; \
> 	done

I have implemented this solution now in
lib/symbol/Makefile.

Thanks for the suggestions.

Markus




More information about the grass-dev mailing list