From: Michal Sojka Date: Fri, 11 Sep 2015 14:02:40 +0000 (+0200) Subject: doc: Build documentation only with block that are part of the release X-Git-Tag: eaton-0.6a~2 X-Git-Url: http://rtime.felk.cvut.cz/gitweb/jenkicar/rpp-simulink.git/commitdiff_plain/e82758a3d53e36950ead783cb441edb4d0613a28 doc: Build documentation only with block that are part of the release --- diff --git a/doc/Makefile b/doc/Makefile index 9a483fb..4875079 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -14,7 +14,7 @@ rpp_simulink.pdf: rpp_simulink.tex rpp_simulink.tex: block_desc.tex block_table.tex rpp-test-sw-cmds.tex version.tex _$(TARGET)/target_def.tex _$(TARGET)/hwdesc.tex -blocks = $(sort $(wildcard ../rpp/blocks/sfunction_*.c)) +blocks = $(sort $(shell $(if $(RELEASE_ATTR),../rpp/lib/etc/git-ls-files-attr $(RELEASE_ATTR),git ls-files) ../rpp/blocks/sfunction_*.c)) block_desc.tex: ../rpp/blocks/scripts/doc_parse.py $(blocks) $< --latex ${filter %.c,$^} | sed -e 's/\\bf\b/\\bfseries/g' > $@ diff --git a/rpp/lib b/rpp/lib index b040222..b9c1422 160000 --- a/rpp/lib +++ b/rpp/lib @@ -1 +1 @@ -Subproject commit b0402226674d0c3b2b21aff34268e39a5f10c329 +Subproject commit b9c14221d9d95c415ea02c0ba34dbf87d90ddbaf