Browse Source

Cross-compilation fixes

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53206 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 12 years ago
parent
commit
4dafcf8c74
1 changed files with 6 additions and 6 deletions
  1. 6 6
      include/Make/Html.make

+ 6 - 6
include/Make/Html.make

@@ -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 @@ $(MANDIR)/%.$(MANSECT): $(HTMLDIR)/%.html
 %.tmp.html: $(HTMLSRC)
 	if [ "$(HTMLSRC)" != "" ] ; then $(call htmldesc,$<,$@) ; fi
 
+ifdef CROSS_COMPILING
+
+html:
+
+else
+
 html: $(HTMLDIR)/$(PGM).html $(MANDIR)/$(PGM).$(MANSECT)
 
 endif