Bladeren bron

update Makefile (use GuiScript.make) for g.gui.* modules
update also manual: link other g.gui.* modules


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54202 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 12 jaren geleden
bovenliggende
commit
75c3ea7be1

+ 2 - 10
gui/wxpython/animation/Makefile

@@ -1,13 +1,5 @@
 MODULE_TOPDIR = ../../..
 MODULE_TOPDIR = ../../..
 
 
-PGM = g.gui.animation
-WXPGM = Animation
+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

+ 8 - 0
gui/wxpython/animation/g.gui.animation.html

@@ -51,6 +51,14 @@ To display 3D view animation follow these steps:
   <a href="wxGUI.Components.html">wxGUI components</a>
   <a href="wxGUI.Components.html">wxGUI components</a>
 </em>
 </em>
 
 
+<p>
+<em>
+  <a href="g.gui.html">g.gui</a>,
+  <a href="g.gui.gmodeler.html">g.gui.gmodeler</a>,
+  <a href="g.gui.mapswipe.html">g.gui.mapswipe</a>,
+  <a href="g.gui.rlisetup.html">g.gui.rlisetup</a>
+</em>
+
 <h2>AUTHOR</h2>
 <h2>AUTHOR</h2>
 
 
 Anna Kratochvilova,
 Anna Kratochvilova,

+ 4 - 2
gui/wxpython/docs/wxGUI.Components.html

@@ -7,9 +7,11 @@ 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.Nviz.html">3D Viewer</a></li>
   <li><a href="wxGUI.Attribute_Table_Manager.html">Attribute Table Manager</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.PsMap.html">Cartographic Composer</a></li>
-  <li><a href="wxGUI.gmodeler.html">Graphical Modeler</a></li>
+  <li><a href="wxGUI.gmodeler.html">Graphical Modeler</a>
+    - <em><a href="g.gui.gmodeler.html">g.gui.gmodeler</a></em></li>
   <li><a href="wxGUI.GCP_Manager.html">Ground Control Points Manager</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.mapswipe.html">Map Swipe</a>
+    - <em><a href="g.gui.mapswipe.html">g.gui.mapswipe</a></em></li>
   <li><a href="wxGUI.IClass.html">Supervised Classification Tool</a></li>
   <li><a href="wxGUI.IClass.html">Supervised Classification Tool</a></li>
   <li><a href="wxGUI.Vector_Digitizer.html">Vector Digitizer</a></li>
   <li><a href="wxGUI.Vector_Digitizer.html">Vector Digitizer</a></li>
 </ul>
 </ul>

+ 2 - 10
gui/wxpython/mapswipe/Makefile

@@ -1,13 +1,5 @@
 MODULE_TOPDIR = ../../..
 MODULE_TOPDIR = ../../..
 
 
-PGM = g.gui.mapswipe
-WXPGM = MapSwipe
+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

+ 8 - 0
gui/wxpython/mapswipe/g.gui.mapswipe.html

@@ -37,6 +37,14 @@ Source: <a href="http://earthobservatory.nasa.gov/NaturalHazards/view.php?id=496
 </em>
 </em>
 
 
 <p>
 <p>
+<em>
+  <a href="g.gui.html">g.gui</a>,
+  <a href="g.gui.animation.html">g.gui.animation</a>,
+  <a href="g.gui.gmodeler.html">g.gui.gmodeler</a>,
+  <a href="g.gui.rlisetup.html">g.gui.rlisetup</a>
+</em>
+
+<p>
 See also the user <a href="http://grass.osgeo.org/wiki/WxGUI_Map_Swipe">wiki</a> page.
 See also the user <a href="http://grass.osgeo.org/wiki/WxGUI_Map_Swipe">wiki</a> page.
 
 
 <h2>AUTHOR</h2>
 <h2>AUTHOR</h2>

+ 2 - 10
gui/wxpython/rlisetup/Makefile

@@ -1,13 +1,5 @@
 MODULE_TOPDIR = ../../..
 MODULE_TOPDIR = ../../..
 
 
-PGM = g.gui.rlisetup
-WXPGM = RLiSetup
+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