@@ -72,7 +72,7 @@ HTML_TARBALL := $(TARGET_DIR)/$(PACKAGE)-html.tar.gz
72
72
73
73
# # Octave binaries
74
74
MKOCTFILE ?= mkoctfile
75
- OCTAVE ?= octave --no-gui
75
+ OCTAVE ?= octave
76
76
77
77
# # Targets that are not filenames.
78
78
# # https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html
@@ -176,7 +176,7 @@ html_options = --eval 'options = get_html_options ("octave-forge");' \
176
176
$(HTML_DIR ) : install
177
177
@echo " Generating HTML documentation. This may take a while ..."
178
178
$(RM ) -r " $@ "
179
- $(OCTAVE ) --no-window-system --silent \
179
+ $(OCTAVE ) --no-gui --no-window-system --silent \
180
180
--eval " pkg load generate_html; " \
181
181
--eval " pkg load $( PACKAGE) ;" \
182
182
$(html_options ) \
@@ -192,7 +192,7 @@ release: dist html
192
192
193
193
install : $(RELEASE_TARBALL )
194
194
@echo " Installing package locally ..."
195
- $(OCTAVE ) --silent --eval ' pkg ("install", "-verbose", "$(RELEASE_TARBALL)")'
195
+ $(OCTAVE ) --no-gui --silent --eval ' pkg ("install", "-verbose", "$(RELEASE_TARBALL)")'
196
196
197
197
clean : cleandocs
198
198
$(RM ) -r $(RELEASE_DIR ) $(RELEASE_TARBALL ) $(HTML_TARBALL ) $(HTML_DIR )
208
208
# Start an Octave session with the package directories on the path for
209
209
# interactice test of development sources.
210
210
run : all
211
- $(OCTAVE ) --silent --persist --path " $( TOPDIR) /inst/" \
211
+ $(OCTAVE ) --no-gui --silent --persist --path " $( TOPDIR) /inst/" \
212
212
--eval ' if(!isempty("$(DEPENDS)")); pkg load $(DEPENDS); endif;'
213
213
214
214
rungui : all
@@ -218,14 +218,14 @@ rungui: all
218
218
# Test example blocks in the documentation. Needs doctest package
219
219
# http://octave.sourceforge.net/doctest/index.html
220
220
doctest : all
221
- $(OCTAVE ) --path " $( TOPDIR) /inst/" \
221
+ $(OCTAVE ) --no-gui -- path " $( TOPDIR) /inst/" \
222
222
--eval ' if(!isempty("$(DEPENDS)")); pkg load $(DEPENDS); endif;' \
223
223
--eval ' pkg load doctest;' \
224
224
--eval ' doctest ("$(TOPDIR)/inst/");'
225
225
226
226
# Note "doctest" as prerequesite. When testing the package, also check
227
227
# the documentation.
228
228
check : all
229
- $(OCTAVE ) --silent --path " $( TOPDIR) /inst/" \
229
+ $(OCTAVE ) --no-gui -- silent --path " $( TOPDIR) /inst/" \
230
230
--eval ' if(!isempty("$(DEPENDS)")); pkg load $(DEPENDS); endif;' \
231
231
--eval " __run_test_suite__ ({'$( TOPDIR) /inst'}, {})"
0 commit comments