[GRASS-SVN] r35005 - in grass/branches/develbranch_6/visualization/nviz: . html

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Dec 23 06:30:24 EST 2008


Author: pkelly
Date: 2008-12-23 06:30:24 -0500 (Tue, 23 Dec 2008)
New Revision: 35005

Modified:
   grass/branches/develbranch_6/visualization/nviz/Makefile
   grass/branches/develbranch_6/visualization/nviz/html/Makefile
Log:
Don't use find -L in an Msys build as the -L option isn't recognised


Modified: grass/branches/develbranch_6/visualization/nviz/Makefile
===================================================================
--- grass/branches/develbranch_6/visualization/nviz/Makefile	2008-12-23 11:27:23 UTC (rev 35004)
+++ grass/branches/develbranch_6/visualization/nviz/Makefile	2008-12-23 11:30:24 UTC (rev 35005)
@@ -9,6 +9,12 @@
 PROG=nviz
 INSTALL_DIR=$(GISBASE)/etc/$(NV_VER)
 
+ifneq ($(strip $(MINGW)),)
+	FIND = find
+else
+	FIND = find -L
+endif
+
 SCRIPTS := \
 	scripts/script_get_line \
 	scripts/script_play \
@@ -37,7 +43,7 @@
 	for file in $(SCRIPTS) ; do $(INSTALL) $$file $(INSTALL_DIR)/scripts ; done
 	-$(MKDIR) $(INSTALL_DIR)/bitmaps
 	-$(MKDIR) $(INSTALL_DIR)/bitmaps/flythrough
-	find -L bitmaps -path '*/.svn' -prune -o -type f -print | \
+	$(FIND) bitmaps -path '*/.svn' -prune -o -type f -print | \
 		while read file ; do $(INSTALL_DATA) $$file $(INSTALL_DIR)/$$file ; done
 
 docs:

Modified: grass/branches/develbranch_6/visualization/nviz/html/Makefile
===================================================================
--- grass/branches/develbranch_6/visualization/nviz/html/Makefile	2008-12-23 11:27:23 UTC (rev 35004)
+++ grass/branches/develbranch_6/visualization/nviz/html/Makefile	2008-12-23 11:30:24 UTC (rev 35005)
@@ -5,6 +5,12 @@
 
 GRASS_NVIZ_DOCS=$(GISBASE)/docs/html/nviz
 
+ifneq ($(strip $(MINGW)),)
+	FIND = find
+else
+	FIND = find -L
+endif
+
 default:
 	-$(MKDIR) $(GISBASE)/docs
 	-$(MKDIR) $(GISBASE)/docs/html
@@ -14,5 +20,5 @@
 	-$(MKDIR) $(GRASS_NVIZ_DOCS)/nvimg
 	-$(MKDIR) $(GRASS_NVIZ_DOCS)/nvimg/panel
 	-$(MKDIR) $(GRASS_NVIZ_DOCS)/nvimg/work
-	find -L . -type f \( -name '*.html' -o -name '*.png' -o -name '*.gif' \) -print | \
+	$(FIND) . -type f \( -name '*.html' -o -name '*.png' -o -name '*.gif' \) -print | \
 		while read file ; do $(INSTALL_DATA) $$file $(GRASS_NVIZ_DOCS)/$$file ; done



More information about the grass-commit mailing list