Browse Source

update gmodeler's Make to use GuiScript

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54151 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
f707d85e42

+ 1 - 1
gui/wxpython/docs/wxGUI.Components.html

@@ -7,7 +7,7 @@ List of <em><a href="wxGUI.html">wxGUI</a></em> components:
   <li><a href="wxGUI.Nviz.html">3D Viewer</a></li>
   <li><a href="wxGUI.Attribute_Table_Manager.html">Attribute Table Manager</a></li>
   <li><a href="wxGUI.PsMap.html">Cartographic Composer</a></li>
-  <li><a href="wxGUI.Modeler.html">Graphical Modeler</a></li>
+  <li><a href="wxGUI.gmodeler.html">Graphical Modeler</a></li>
   <li><a href="wxGUI.GCP_Manager.html">Ground Control Points Manager</a></li>
   <li><a href="wxGUI.MapSwipe.html">Map Swipe</a></li>
   <li><a href="wxGUI.IClass.html">Supervised Classification Tool</a></li>

+ 1 - 1
gui/wxpython/docs/wxGUI.html

@@ -318,7 +318,7 @@ d.text text=Population\ density
 
   <dt><img src="icons/modeler-main.png" alt="icon">&nbsp;
     <em>Graphical Modeler</em></dt>
-  <dd>Launches <em><a href="wxGUI.Modeler.html">graphical
+  <dd>Launches <em><a href="wxGUI.gmodeler.html">graphical
   modeler</a></em> to create models and run them.</dd>
 
   <dt><img src="icons/georectify.png" alt="icon">&nbsp;

+ 2 - 10
gui/wxpython/gmodeler/Makefile

@@ -1,13 +1,5 @@
 MODULE_TOPDIR = ../../..
 
-PGM = g.gui.gmodeler
-WXPGM = Modeler
+include $(MODULE_TOPDIR)/include/Make/GuiScript.make
 
-include $(MODULE_TOPDIR)/include/Make/Script.make
-
-default: script
-	-rm -f $(PGM).tmp.html
-	$(MAKE) $(HTMLDIR)/wxGUI.$(WXPGM).html
-
-$(HTMLDIR)/wxGUI.$(WXPGM).html: $(PGM).html | $(HTMLDIR)
-	$(PYTHON) $(GISBASE)/tools/mkhtml.py $(PGM) $(GRASS_VERSION_DATE) > $@
+default: guiscript