[GRASS-dev] Indented comments in Makefile not compatible withmake-3.82

Daniel Macks dmacks at netspace.org
Sun Dec 30 02:58:25 PST 2012


On Fri, 1 Jun 2012 08:28:02 +0100, Glynn Clements 
<glynn at gclements.plus.com> wrote:

> Daniel Macks wrote:
>
> > The problem appears to be just after the above "sed" command, where
> > macosx/modbuild/Makefile has:
> > >     @# until I figure out how to get sed to replace with 
> multiple lines in a
> >     @# makefile, GRASS_APP required for modbuild, ie no default 
> to /Applications
> >     @#-e 's#^GISBASE.*#ifdef GRASS_APP\
> >     @#GISBASE = $$(GRASS_APP)/Contents/MacOS\
> >     @#else\
> >     @#GISBASE = $(INST_DIR_MACOSX)\
> >     @#endif#g'
> >     @# html.make needs a little change
>
> It's the leading @ which causes the problem; a # only begins a comment
> when it appears at the beginning of a word:
[...]
> Removing the leading '@' from each continuation line should suffice,

  > i.e.:
>
>  @# until I figure out how to get sed to replace with multiple lines in a
>  @# makefile, GRASS_APP required for modbuild, ie no default to /Applications
>  @#-e 's#^GISBASE.*#ifdef GRASS_APP\
>  #GISBASE = $$(GRASS_APP)/Contents/MacOS\
>  #else\
>  #GISBASE = $(INST_DIR_MACOSX)\
>  #endif#g'
>  # html.make needs a little change

Ping? 6 months, several releases, and this is still broken. 

dan

  --
Daniel Macks
dmacks at netspace.org




More information about the grass-dev mailing list