|
@@ -18,9 +18,17 @@ include $(MODULE_TOPDIR)/include/Make/Html.make
|
|
|
include $(MODULE_TOPDIR)/include/Make/ScriptRules.make
|
|
|
|
|
|
SCRIPT_ACTIONS = $(SCRIPT) $(ETCPYFILES) $(ETCPYCFILES) html scriptstrings
|
|
|
+ifdef MINGW
|
|
|
+SCRIPT_ACTIONS += $(BIN)/$(PGM).bat
|
|
|
+SCRIPT_DIR = %GISBASE%/scripts
|
|
|
+endif
|
|
|
|
|
|
script: $(SCRIPT_ACTIONS)
|
|
|
|
|
|
+$(BIN)/$(PGM).bat: $(MODULE_TOPDIR)/scripts/windows_launch.bat
|
|
|
+ sed -e "s#SCRIPT_NAME#$(PGM)#" -e "s#SCRIPT_DIR#$(SCRIPT_DIR)#" $(MODULE_TOPDIR)/scripts/windows_launch.bat > $@
|
|
|
+ unix2dos $@
|
|
|
+
|
|
|
scriptstrings: $(STRINGDIR)/$(PGM)_to_translate.c
|
|
|
|
|
|
install:
|