From e82758a3d53e36950ead783cb441edb4d0613a28 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Fri, 11 Sep 2015 16:02:40 +0200 Subject: [PATCH] doc: Build documentation only with block that are part of the release --- doc/Makefile | 2 +- rpp/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2