[GRASS-dev] Makefiles: tar failure on Solaris
glynn at gclements.plus.com
Sat Nov 18 12:30:25 EST 2006
> > > > 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/.
> > ...
> > > 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.
> simplifying to making it easier to add new symbol groups (hopefully),
> would this work:
> for group in basic demo extra ; do \
> for file in symbol/$$group/* ; do \
> [ -f "$$file" ] && $(INSTALL_DATA) $$file $(ETC)/symbol/$$group ; \
> done \
Yes, but it still suffers from the issue that it installs every file
in the directory; there is no way to omit individual files from
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev