[GRASS-SVN] r53206 - grass/trunk/include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 18 06:35:42 PDT 2012


Author: glynn
Date: 2012-09-18 06:35:41 -0700 (Tue, 18 Sep 2012)
New Revision: 53206

Modified:
   grass/trunk/include/Make/Html.make
Log:
Cross-compilation fixes


Modified: grass/trunk/include/Make/Html.make
===================================================================
--- grass/trunk/include/Make/Html.make	2012-09-18 13:33:50 UTC (rev 53205)
+++ grass/trunk/include/Make/Html.make	2012-09-18 13:35:41 UTC (rev 53206)
@@ -1,12 +1,6 @@
 
 # generic html rules for all commands
 
-ifdef CROSS_COMPILING
-
-html:
-
-else
-
 htmldesc = $(call run_grass,$(1) --html-description < /dev/null | grep -v '</body>\|</html>' > $(2))
 
 IMGSRC := $(wildcard *.png) $(wildcard *.jpg)
@@ -31,6 +25,12 @@
 %.tmp.html: $(HTMLSRC)
 	if [ "$(HTMLSRC)" != "" ] ; then $(call htmldesc,$<,$@) ; fi
 
+ifdef CROSS_COMPILING
+
+html:
+
+else
+
 html: $(HTMLDIR)/$(PGM).html $(MANDIR)/$(PGM).$(MANSECT)
 
 endif



More information about the grass-commit mailing list