Mercurial > mxe-octave
comparison binary-dist-rules.mk @ 5954:90a4202652e7
Don't delete octave wrapper executables when packaging for Windows.
* binary-dist-rules.mk: Don't delete octave wrapper executables when packaging
for Windows.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 17 Nov 2021 15:09:42 +0100 |
parents | b532d40c63d8 |
children | f42752ce0ae3 |
comparison
equal
deleted
inserted
replaced
5953:00a24f9b9cae | 5954:90a4202652e7 |
---|---|
119 # the startup scripts for all targets (including stable and release). | 119 # the startup scripts for all targets (including stable and release). |
120 if [ "$(OCTAVE_TARGET)" = "default-octave" ]; then \ | 120 if [ "$(OCTAVE_TARGET)" = "default-octave" ]; then \ |
121 (cd '$(OCTAVE_DIST_DIR)' && $(PATCH) -p1 -u) < $(TOP_DIR)/installer-files/octave-no-short-path.patch; \ | 121 (cd '$(OCTAVE_DIST_DIR)' && $(PATCH) -p1 -u) < $(TOP_DIR)/installer-files/octave-no-short-path.patch; \ |
122 fi | 122 fi |
123 cp $(TOP_BUILD_DIR)/HG-ID $(OCTAVE_DIST_DIR)/ | 123 cp $(TOP_BUILD_DIR)/HG-ID $(OCTAVE_DIST_DIR)/ |
124 echo " updating octave .exe to script files..." | 124 echo " installing octave.bat script file..." |
125 rm -f $(OCTAVE_DIST_DIR)$(OCTAVE_ADD_PATH)/bin/octave.exe | |
126 rm -f $(OCTAVE_DIST_DIR)$(OCTAVE_ADD_PATH)/bin/octave-$($(OCTAVE_TARGET)_VERSION).exe | |
127 cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)$(OCTAVE_ADD_PATH)/bin/octave.bat | 125 cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)$(OCTAVE_ADD_PATH)/bin/octave.bat |
128 # This patch can be dropped as soon as those lines are removed from | 126 # This patch can be dropped as soon as those lines are removed from |
129 # "octave.bat" for all targets (including stable and release). | 127 # "octave.bat" for all targets (including stable and release). |
130 if [ "$(OCTAVE_TARGET)" = "default-octave" ]; then \ | 128 if [ "$(OCTAVE_TARGET)" = "default-octave" ]; then \ |
131 (cd '$(OCTAVE_DIST_DIR)$(OCTAVE_ADD_PATH)/bin' && $(PATCH) -p1 -u) < $(TOP_DIR)/installer-files/octave-bat-no-short-path.patch; \ | 129 (cd '$(OCTAVE_DIST_DIR)$(OCTAVE_ADD_PATH)/bin' && $(PATCH) -p1 -u) < $(TOP_DIR)/installer-files/octave-bat-no-short-path.patch; \ |
163 echo " octave.vbs..." | 161 echo " octave.vbs..." |
164 cp $(TOP_DIR)/installer-files/octave.vbs $(OCTAVE_DIST_DIR)/ | 162 cp $(TOP_DIR)/installer-files/octave.vbs $(OCTAVE_DIST_DIR)/ |
165 cp $(TOP_DIR)/installer-files/octave-firsttime.vbs $(OCTAVE_DIST_DIR)/ | 163 cp $(TOP_DIR)/installer-files/octave-firsttime.vbs $(OCTAVE_DIST_DIR)/ |
166 cp $(TOP_DIR)/installer-files/fc_update.bat $(OCTAVE_DIST_DIR)/ | 164 cp $(TOP_DIR)/installer-files/fc_update.bat $(OCTAVE_DIST_DIR)/ |
167 cp $(TOP_DIR)/installer-files/post-install.bat $(OCTAVE_DIST_DIR)/ | 165 cp $(TOP_DIR)/installer-files/post-install.bat $(OCTAVE_DIST_DIR)/ |
168 echo " updating octave .exe to script files..." | 166 echo " installing octave.bat script files..." |
169 rm -f $(OCTAVE_DIST_DIR)/bin/octave.exe | |
170 rm -f $(OCTAVE_DIST_DIR)/bin/octave-$($(OCTAVE_TARGET)_VERSION).exe | |
171 cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)/bin/octave.bat | 167 cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)/bin/octave.bat |
172 cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)/bin/octave-$($(OCTAVE_TARGET)_VERSION).bat | 168 cp $(TOP_DIR)/installer-files/octave.bat $(OCTAVE_DIST_DIR)/bin/octave-$($(OCTAVE_TARGET)_VERSION).bat |
173 endef | 169 endef |
174 endif | 170 endif |
175 endif | 171 endif |