From 029dee797965357dbcbe5a097731701e4d965d82 Mon Sep 17 00:00:00 2001 From: Thomas Wood Date: Fri, 28 Nov 2014 11:37:33 +0000 Subject: docs: treat the test description as cdata Enclose the test description in cdata tags since the test descriptions come from the tests themselves and may not be escaped for use in xml. Signed-off-by: Thomas Wood --- docs/reference/intel-gpu-tools/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/reference/intel-gpu-tools/Makefile.am b/docs/reference/intel-gpu-tools/Makefile.am index b40680bd..0a47764d 100644 --- a/docs/reference/intel-gpu-tools/Makefile.am +++ b/docs/reference/intel-gpu-tools/Makefile.am @@ -36,14 +36,14 @@ xml/igt_test_programs_%_description.xml: $(TESTLISTS) for test in `cat $(TESTLISTS) | tr ' ' '\n' | grep "^$*" | sort`; do \ echo "" >> $@; \ echo "$$test" | perl -pe 's/(?<=_)$(KEYWORDS)(?=(_|\W))/<acronym>\1<\/acronym>/g' >> $@; \ - echo "" >> $@; \ + echo "> $@; \ if [ -x $(top_builddir)/tests/$$test ]; then \ testprog=$(top_builddir)/tests/$$test; \ else \ testprog=$(top_srcdir)/tests/$$test; \ fi; \ ./$$testprog --help-description >> $@; \ - echo "" >> $@; \ + echo "]]>" >> $@; \ if ./$$testprog --list-subtests > /dev/null ; then \ echo "Subtests" >> $@; \ echo "" >> $@; \ -- cgit v1.2.3