[GRASS-dev] GRASS7: makefile issue with -j4

Glynn Clements glynn at gclements.plus.com
Thu Sep 29 19:48:27 EDT 2011


Martin Landa wrote:

> when trying first option I am getting mysterious error
> 
> /usr/bin/install -c  -m 644 r.in.png
> /usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/r.in.png
> /usr/bin/install: omitting directory `r.in.png'
> make[1]: *** [/usr/local/src/grass_trunk/dist.i686-pc-linux-gnu/docs/html/r.in.png]
> Error 1
> make[1]: *** Waiting for unfinished jobs....

The "raster" directory has an HTML file (rasterintro.html), and the
%.html rule tries to install the r.in.png and r.out.png "images". The
install program treats it as an error if you try to install a
directory.

I modified raster/Makefile to include explicit dummy rules for these
targets, to override the normal rules for anything ending in .png.

FWIW, this approach has been committed as r48561.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list