@@ -60,7 +60,7 @@ install_stamp := $(installation_dir)/.install_stamp
60
60
ifndef OCTAVE
61
61
OCTAVE := octave
62
62
endif
63
- OCTAVE := $(OCTAVE ) --no-gui -- silent --norc
63
+ OCTAVE := $(OCTAVE ) --silent --norc
64
64
MKOCTFILE ?= mkoctfile
65
65
66
66
# # Command used to set permissions before creating tarballs
@@ -179,7 +179,7 @@ html_options = --eval 'options = get_html_options ("octave-forge");' \
179
179
--eval 'options.package_doc_options = [options.package_doc_options " --css-include=$(packageprefix )$(package ) .css"];'
180
180
$(html_dir ) : $(install_stamp )
181
181
$(RM ) -r " $@ " ;
182
- $(run_in_place ) \
182
+ $(run_in_place ) --no-gui \
183
183
--eval ' pkg load generate_html; ' \
184
184
$(html_options) \
185
185
--eval ' generate_package_html ("$(package)", "$@", options); ';
@@ -210,13 +210,13 @@ octave_install_commands = \
210
210
# # different versions of Octave.
211
211
install : $(release_tarball )
212
212
@echo " Installing package under $( installation_dir) ..."
213
- $(OCTAVE ) --eval $(octave_install_commands )
213
+ $(OCTAVE ) --no-gui -- eval $(octave_install_commands )
214
214
touch $(install_stamp )
215
215
216
216
# # Install only if installation (under target/...) is not current.
217
217
$(install_stamp ) : $(release_tarball )
218
218
@echo " Installing package under $( installation_dir) ..."
219
- $(OCTAVE ) --eval $(octave_install_commands )
219
+ $(OCTAVE ) --no-gui -- eval $(octave_install_commands )
220
220
touch $(install_stamp )
221
221
222
222
clean-install :
@@ -234,15 +234,15 @@ clean-install:
234
234
# # Start an Octave session with the package directories on the path for
235
235
# # interactice test of development sources.
236
236
run : $(install_stamp )
237
- $(run_in_place ) --persist
237
+ $(run_in_place ) --no-gui -- persist
238
238
239
239
rungui : $(install_stamp )
240
240
$(run_in_place ) --gui --persist
241
241
242
242
# # Test example blocks in the documentation. Needs doctest package
243
243
# # https://octave.sourceforge.io/doctest/index.html
244
244
doctest : $(install_stamp )
245
- $(run_in_place ) --eval ' pkg load doctest;' \
245
+ $(run_in_place ) --no-gui -- eval ' pkg load doctest;' \
246
246
--eval "pkgs = pkg('list', '$(package)');" \
247
247
--eval "target = {pkgs{1}.dir};" \
248
248
--eval "doctest (target);"
@@ -259,7 +259,7 @@ octave_test_commands = \
259
259
# #
260
260
# # else cellfun (@runtests, horzcat (cellfun (@ (dir) ostrsplit (([~, dirs] = system (sprintf ("find %s -type d", dir))), "\n\r", true), dirs, "UniformOutput", false){:})); endif '
261
261
check : $(install_stamp )
262
- $(run_in_place ) --eval $(octave_test_commands )
262
+ $(run_in_place ) --no-gui -- eval $(octave_test_commands )
263
263
264
264
# #
265
265
# # Docs
@@ -336,7 +336,7 @@ endif
336
336
337
337
338
338
runinplace : compile-inplace
339
- $(OCTAVE ) --silent --persist --path " $( TOPDIR) /inst/" --path " $( TOPDIR) /src/" \
339
+ $(OCTAVE ) --no-gui -- silent --persist --path " $( TOPDIR) /inst/" --path " $( TOPDIR) /src/" \
340
340
--eval ' $(PKG_ADD)'
341
341
342
342
clean-runinplace :
0 commit comments