-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.am
40 lines (26 loc) · 1.11 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
if BUILD_TESTS
if BUILD_MATLAB_TESTS
TESTS = testmatlab.py
endif
endif
# Generate local API documentation?
if BUILD_DOCS
HTMLDIR = $(top_srcdir)/doc/html
doc_DATA = matlab_build.stamp
#SUFFIXES = .html .m
#$(HTMLDIR)/%.html: %.m
#.m.html:
# matlab -nodesktop -nosplash -nodisplay -r "make_matlab_doc('$<','$(HTMLDIR)'); exit;"
matlab_build.stamp: $(HTMLDIR)/demoWriteGre.html $(HTMLDIR)/demoWriteRf.html $(HTMLDIR)/demoRead.html $(HTMLDIR)/Sequence.html
touch matlab_build.stamp
$(HTMLDIR)/demoWriteGre.html: demoWriteGre.m make_matlab_doc.m
matlab -wait -nodesktop -nosplash -r "make_matlab_doc('$<','$(HTMLDIR)'); exit;"
$(HTMLDIR)/demoWriteRf.html: demoWriteRf.m make_matlab_doc.m
matlab -wait -nodesktop -nosplash -r "make_matlab_doc('$<','$(HTMLDIR)'); exit;"
$(HTMLDIR)/demoRead.html: demoRead.m make_matlab_doc.m
matlab -wait -nodesktop -nosplash -r "make_matlab_doc('$<','$(HTMLDIR)'); exit;"
$(HTMLDIR)/Sequence.html: +mr/@Sequence/Sequence.m make_matlab_doc.m
matlab -wait -nodesktop -nosplash -r "make_matlab_doc('$<','$(HTMLDIR)'); exit;"
endif
clean-local:
if test -d html; then rm -rf html; fi