Skip to content

Commit

Permalink
[bugfix] doc.ma: make it work with recent versions of MATLAB
Browse files Browse the repository at this point in the history
  • Loading branch information
vedaldi committed Jan 14, 2015
1 parent 33f2724 commit 96cb815
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions make/doc.mak
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $(eval $(call gendir, results, results))
.PHONY: doc-deep

ifdef MATLAB_PATH
doc-matlab: doc/matlab/helpsearch/deletable
doc-matlab: doc/matlab/helpsearch-v2/segments.gen
endif

# use MATLAB to create the figures for the tutorials
Expand All @@ -67,11 +67,11 @@ doc-deep: all $(doc-dir) $(results-dir)
$(MAKE) doc

# make documentation searchable in MATLAB
doc/matlab/helpsearch/deletable : doc/build/matlab/helpsearch/deletable $(doc-dir)
doc/matlab/helpsearch-v2/segments.gen : doc/build/matlab/helpsearch-v2/segments.gen $(doc-dir)
cp -v doc/build/matlab/helptoc.xml doc/matlab/
cp -rv doc/build/matlab/helpsearch doc/matlab/
cp -rv doc/build/matlab/helpsearch-v2 doc/matlab/

doc/build/matlab/helpsearch/deletable: doc/build/matlab/helptoc.xml
doc/build/matlab/helpsearch-v2/segments.gen: doc/build/matlab/helptoc.xml
$(MATLAB_EXE) -$(ARCH) -nodisplay -r "builddocsearchdb('doc/build/matlab/') ; exit"

# --------------------------------------------------------------------
Expand Down

0 comments on commit 96cb815

Please sign in to comment.