]> rtime.felk.cvut.cz Git - jenkicar/rpp-simulink.git/commitdiff
Make doc building more explicit
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 29 Apr 2015 07:51:24 +0000 (09:51 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 29 Apr 2015 07:51:35 +0000 (09:51 +0200)
Also build the library automatically if there is no Makefile.config.

doc/Makefile
doc/test-sw

index b186a96134a934876e9fc5120df1f9adad64025c..9dc43e09732420a3f3c215569d21aa3d23fa6705 100644 (file)
@@ -4,9 +4,11 @@ all: $(DOC)
 
 -include *.deps
 
-%.pdf: %.tex block_desc.tex block_table.tex rpp-test-sw-cmds.tex version.tex
+rpp_simulink.pdf: rpp_simulink.tex
        latexmk -deps -deps-out=$@.deps $< # See also .latexmkrc
 
+rpp_simulink.tex: block_desc.tex block_table.tex rpp-test-sw-cmds.tex version.tex rpp_simulink_target.tex
+
 blocks = $(sort $(wildcard ../rpp/blocks/sfunction_*.c))
 
 block_desc.tex: ../rpp/blocks/scripts/doc_parse.py $(blocks)
@@ -35,5 +37,8 @@ version.tex:
 
 include ../rpp/lib/Makefile.config
 
+../rpp/lib/Makefile.config:
+       $(MAKE) -C ../rpp/lib/build/tms570_hdk/Release
+
 rpp_simulink_target.tex: rpp_simulink_$(TARGET).tex
        ln -s $^ $@
index c7493a717975374250606f87df59292089302687..2393c01233c0b37b88e97325a06b6a39cf5f4db9 160000 (submodule)
@@ -1 +1 @@
-Subproject commit c7493a717975374250606f87df59292089302687
+Subproject commit 2393c01233c0b37b88e97325a06b6a39cf5f4db9