this bug's URL: http://intevation.de/rt/webrt?serial_num=2387
-------------------------------------------------------------------------
Subject: Makefiles assume that
Platform: other
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: grass 5.7 from CVS checked out 20040417
In a number of places the Makefiles in grass 5.7 assume that "make" is GNU make. This makes users of systems where "make" is something else and GNU make is called "gmake" have to take extra steps (like making symlinks to GNU make and rearranging their paths) to build grass.
If the makefiles used the MAKE variable (e.g. always use $(MAKE) instead of make in rules that invoke make) then this would't be a problem, as the user could than specify which version of make to use.
This is a minor thing, but when I build grass every few months I have to remind myself that the first step is to reset my path such that a symlink make->/usr/local/bin/gmake is found before the native system's "make".
-------------------------------------------- Managed by Request Tracker
Request Tracker wrote:
this bug's URL: http://intevation.de/rt/webrt?serial_num=2387
-------------------------------------------------------------------------
Subject: Makefiles assume that
Platform: other
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: grass 5.7 from CVS checked out 20040417
In a number of places the Makefiles in grass 5.7 assume that "make" is
GNU make. This makes users of systems where "make" is something else
and GNU make is called "gmake" have to take extra steps (like making
symlinks to GNU make and rearranging their paths) to build grass.
If the makefiles used the MAKE variable (e.g. always use $(MAKE)
instead of make in rules that invoke make) then this would't be a
problem, as the user could than specify which version of make to use.
FWIW, here's a list:
lib/db/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/db/Makefile: (cd ./latex && make)
lib/db/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/db/Makefile: (cd ./latex && make pdf && mv refman.pdf grass57dbmi_`date '+%Y_%m_%d'`_refman.pdf)
lib/vector/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/vector/Makefile: (cd ./latex && make)
lib/vector/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/vector/Makefile: (cd ./latex && make pdf && mv refman.pdf grass57vlib_`date '+%Y_%m_%d'`_refman.pdf)
tools/Makefile: (cd timer ; make)
vector/v.clean/Makefile: cd test; make
Makefile: (cd $$subdir && make) || exit 1; \
Makefile: (cd $$subdir && make) || exit 1; \
Makefile: (cd $$subdir && make clean) || exit 1; \
Makefile: (cd $$subdir && make clean) || exit 1; \
Makefile: (cd lib/db/ ; make htmldocs)
Makefile: (cd lib/vector/ ; make htmldocs)
Makefile: (cd lib/db/ ; make pdfdocs)
Makefile: (cd lib/vector/ ; make pdfdocs)
visualization/nviz/Makefile: cd src ; make
visualization/nviz/Makefile: (cd src && make clean) || exit 1;
raster/r.le/r.le.setup/Makefile: (cd polytocell/ ; make )
raster/r.terraflow/IOStream/lib/Makefile: (cd src ; make)
raster/r.terraflow/Makefile: (cd IOStream/lib ; make)
raster/r.terraflow/Makefile: (cd IOStream/lib ; make)
raster/r.terraflow/Makefile: (cd IOStream/lib ; make clean )
Also, both Makefile and include/Make/Platform.make.in set the MAKE
variable; this gets set by MAKE itself, and shouldn't be overriden.
--
Glynn Clements <glynn.clements@virgin.net>
On Sat, Apr 17, 2004 at 09:13:53PM +0100, Glynn Clements wrote:
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2387
> -------------------------------------------------------------------------
>
> Subject: Makefiles assume that
>
> Platform: other
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: grass 5.7 from CVS checked out 20040417
>
> In a number of places the Makefiles in grass 5.7 assume that "make" is
> GNU make. This makes users of systems where "make" is something else
> and GNU make is called "gmake" have to take extra steps (like making
> symlinks to GNU make and rearranging their paths) to build grass.
>
> If the makefiles used the MAKE variable (e.g. always use $(MAKE)
> instead of make in rules that invoke make) then this would't be a
> problem, as the user could than specify which version of make to use.
FWIW, here's a list:
lib/db/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/db/Makefile: (cd ./latex && make)
lib/db/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/db/Makefile: (cd ./latex && make pdf && mv refman.pdf grass57dbmi_`date '+%Y_%m_%d'`_refman.pdf)
lib/vector/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/vector/Makefile: (cd ./latex && make)
lib/vector/Makefile: test ! -d latex || (cd ./latex && make clean)
lib/vector/Makefile: (cd ./latex && make pdf && mv refman.pdf grass57vlib_`date '+%Y_%m_%d'`_refman.pdf)
tools/Makefile: (cd timer ; make)
vector/v.clean/Makefile: cd test; make
Makefile: (cd $$subdir && make) || exit 1; \
Makefile: (cd $$subdir && make) || exit 1; \
Makefile: (cd $$subdir && make clean) || exit 1; \
Makefile: (cd $$subdir && make clean) || exit 1; \
Makefile: (cd lib/db/ ; make htmldocs)
Makefile: (cd lib/vector/ ; make htmldocs)
Makefile: (cd lib/db/ ; make pdfdocs)
Makefile: (cd lib/vector/ ; make pdfdocs)
visualization/nviz/Makefile: cd src ; make
visualization/nviz/Makefile: (cd src && make clean) || exit 1;
raster/r.le/r.le.setup/Makefile: (cd polytocell/ ; make )
raster/r.terraflow/IOStream/lib/Makefile: (cd src ; make)
raster/r.terraflow/Makefile: (cd IOStream/lib ; make)
raster/r.terraflow/Makefile: (cd IOStream/lib ; make)
raster/r.terraflow/Makefile: (cd IOStream/lib ; make clean )
Also, both Makefile and include/Make/Platform.make.in set the MAKE
variable; this gets set by MAKE itself, and shouldn't be overriden.
Fixed in CVS.
Markus