[GRASS-dev] [GRASS GIS] #580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run

GRASS GIS trac at osgeo.org
Tue Nov 25 05:19:19 PST 2014


#580: WinGRASS: $GISBASE/etc/gui/scripts/ require something like $(EXE) to run
---------------------------+------------------------------------------------
  Reporter:  hamish        |       Owner:  grass-dev@…              
      Type:  defect        |      Status:  reopened                 
  Priority:  blocker       |   Milestone:  7.0.0                    
 Component:  wxGUI         |     Version:  svn-trunk                
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------

Comment(by martinl):

 I wonder why this rule is not working

 {{{
 $(DSTDIR)/%.bat: $(MODULE_TOPDIR)/scripts/windows_launch.bat
         sed -e "s#SCRIPT_NAME#$(%)#" -e "s#SCRIPT_DIR#$(DSTDIR)#"
 $(MODULE_TOPDIR)/scripts/windows_launch.bat > $@
         unix2dos $@
 }}}

 it gives eg.

 {{{
 @"%GRASS_PYTHON%" "/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/gui/scripts/.py" %*
 }}}

 should have been

 {{{
 @"%GRASS_PYTHON%" "/c/osgeo4w/usr/src/grass_trunk/dist.i686-pc-
 mingw32/gui/scripts/d.rast3d.py" %*
 }}}

 Similar variables like `$<` or `$@` works as expected.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/580#comment:56>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list