Fixed but after 6.0.0 beta1 release.
Radim
Tom Russo wrote:
I'm using GRASS 5.7 on FreeBSD 4.x, which does not use GNU make as its primary
"make" --- GNU make is installed as "gmake"The NVIZ makefile contains two rules that hardcode "make" instead of using "$(MAKE)" which means that if I try to build GRASS by typing "gmake" it
fails in building nviz's html documentation and nvwish. Using $(MAKE) means
that whatever command the user uses to start the build is used throughout,
which is what I need and which is what is done elsewhere in GRASS.The attached patch fixes it. Could someone commit this to the repository?
------------------------------------------------------------------------
Index: Makefile
RCS file: /home/grass/grassrepository/grass51/visualization/nviz/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile 24 Nov 2004 14:02:25 -0000 1.9
+++ Makefile 12 Jan 2005 17:05:44 -0000
@@ -21,7 +21,7 @@
#
nvwish:
- cd src ; make
+ cd src ; $(MAKE)
nviz:
'rm' -rf $(INSTALL_DIR)
@@ -38,7 +38,7 @@
$(INSTALL) scripts/*Index $(INSTALL_DIR)/scripts
(cd bitmaps; tar -cf - * | (cd $(INSTALL_DIR)/bitmaps; tar -xf - 2>/dev/null ); true)
$(INSTALL) scripts/$(NV_VER)_script $(INSTALL_DIR)/scripts
- (cd html ; make )
+ (cd html ; $(MAKE))
clean: (cd src && $(MAKE) clean) || exit 1;