TeaSpeak-Client/native/codec/libraries/celt/doc/ietf/ietf_source.sh
2019-10-26 01:51:40 +02:00

18 lines
372 B
Bash
Executable File

#!/bin/sh
mkdir -p xml_source
for i in `ls source/ | grep '\.[ch]$'` Makefile
do
echo "<section anchor=\"$i\" title=\"$i\">" > xml_source/$i
echo '<t>' >> xml_source/$i
echo '<figure><artwork><![CDATA[' >> xml_source/$i
cat source/$i >> xml_source/$i
echo ']]></artwork></figure>' >> xml_source/$i
echo '</t>' >> xml_source/$i
echo '</section>' >> xml_source/$i
done