shithub: opus

ref: 96e32235a77d481fc7c3683ffa45722bb70a96ae
dir: /doc/build_draft.sh/

View raw version


rm -rf opus_source
cat opus_sources.mk celt_sources.mk silk_sources.mk opus_headers.txt celt_headers.txt silk_headers.txt | sed -e 's/^.*=//' -e 's/\\//' > all_files.txt
tar czvf tmp_draft.tar.gz `cat all_files.txt`

mkdir opus_source
cd opus_source
tar xzvf ../tmp_draft.tar.gz
cp ../Makefile.draft Makefile
cp ../opus_sources.mk .
cp ../celt_sources.mk .
cp ../silk_sources.mk .

cd ..
tar czvf opus_source.tar.gz opus_source
cat opus_source.tar.gz| base64 -w 66 | sed 's/^/###/' > doc/opus_source.base64

cd doc
echo '<figure>' > opus_compare_escaped.m
echo '<artwork>' >> opus_compare_escaped.m
echo '<![CDATA[' >> opus_compare_escaped.m
cat opus_compare.m >> opus_compare_escaped.m
echo ']]>' >> opus_compare_escaped.m
echo '</artwork>' >> opus_compare_escaped.m
echo '</figure>' >> opus_compare_escaped.m
xml2rfc draft-ietf-codec-opus.xml