[GRASS-dev] Makefiles: tar failure on Solaris
Hamish
hamish_nospam at yahoo.com
Sun Nov 19 18:52:26 EST 2006
Glynn Clements wrote:
>
> Hamish 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/.
> > > ...
> > > > 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 \
> > 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
> installation.
for $GISBASE/etc/symbol/ I don't think that's a problem as it is
specifically a file repository.
Hamish
More information about the grass-dev
mailing list