Changeset 61136


Ignore:
Timestamp:
Jul 3, 2014, 7:42:15 AM (10 years ago)
Author:
martinl
Message:

wingrass: produce bat files for scripts

Location:
grass/trunk
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/include/Make/Script.make

    r57109 r61136  
    1919
    2020SCRIPT_ACTIONS = $(SCRIPT) $(ETCPYFILES) $(ETCPYCFILES) html scriptstrings
     21ifdef MINGW
     22SCRIPT_ACTIONS += $(BIN)/$(PGM).bat
     23endif
    2124
    2225script: $(SCRIPT_ACTIONS)
     26
     27$(BIN)/$(PGM).bat: $(MODULE_TOPDIR)/scripts/windows_launch.bat
     28        sed -e "s#SCRIPT_NAME#$(PGM)#" $(MODULE_TOPDIR)/scripts/windows_launch.bat > $@
     29        unix2dos $@
    2330
    2431scriptstrings: $(STRINGDIR)/$(PGM)_to_translate.c
Note: See TracChangeset for help on using the changeset viewer.