Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: doc/build_isobmff.sh

Issue 882843002: Update to opus-HEAD-66611f1. (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/opus.git@master
Patch Set: Add the contents of Makefile.mips back. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « doc/Makefile.in ('k') | doc/customdoxygen.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # Copyright (c) 2012 Xiph.Org Foundation and Mozilla Corporation 3 # Copyright (c) 2014 Xiph.Org Foundation and Mozilla Foundation
4 #
5 # This file is extracted from RFC6716. Please see that RFC for additional
6 # information.
7 # 4 #
8 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
9 # modification, are permitted provided that the following conditions 6 # modification, are permitted provided that the following conditions
10 # are met: 7 # are met:
11 # 8 #
12 # - Redistributions of source code must retain the above copyright 9 # - Redistributions of source code must retain the above copyright
13 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
14 # 11 #
15 # - Redistributions in binary form must reproduce the above copyright 12 # - Redistributions in binary form must reproduce the above copyright
16 # notice, this list of conditions and the following disclaimer in the 13 # notice, this list of conditions and the following disclaimer in the
17 # documentation and/or other materials provided with the distribution. 14 # documentation and/or other materials provided with the distribution.
18 # 15 #
19 # - Neither the name of Internet Society, IETF or IETF Trust, nor the
20 # names of specific contributors, may be used to endorse or promote
21 # products derived from this software without specific prior written
22 # permission.
23 #
24 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 17 # ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER 19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
28 # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 20 # OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 21 # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
30 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 22 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
31 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 23 # PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
32 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 24 # LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 25 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
34 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 27
36 #Stop on errors 28 #Stop on errors
37 set -e 29 set -e
38 #Set the CWD to the location of this script 30 #Set the CWD to the location of this script
39 [ -n "${0%/*}" ] && cd "${0%/*}" 31 [ -n "${0%/*}" ] && cd "${0%/*}"
40 32
41 if test -z `which xml2rfc 2> /dev/null`; then 33 HTML=opus_in_isobmff.html
42 echo "Error: couldn't find xml2rfc."
43 echo
44 echo "Please install xml2rfc version 2 or later."
45 echo "E.g. 'pip install xml2rfc' or follow the instructions"
46 echo "on http://pypi.python.org/pypi/xml2rfc/ or tools.ietf.org."
47 exit 1
48 fi
49 34
50 echo running xml2rfc 35 echo downloading updates...
51 # version 2 syntax 36 CSS=${HTML%%.html}.css
52 xml2rfc draft-ietf-codec-oggopus.xml --text --html 37 wget -q http://vfrmaniac.fushizen.eu/contents/${HTML} -O ${HTML}
38 wget -q http://vfrmaniac.fushizen.eu/style.css -O ${CSS}
39
40 echo updating links...
41 cat ${HTML} | sed -e "s/\\.\\.\\/style.css/${CSS}/" > ${HTML}+ && mv ${HTML}+ ${ HTML}
42
43 echo stripping...
44 cat ${HTML} | sed -e 's/<!--.*-->//g' > ${HTML}+ && mv ${HTML}+ ${HTML}
45 cat ${HTML} | sed -e 's/ *$//g' > ${HTML}+ && mv ${HTML}+ ${HTML}
46 cat ${CSS} | sed -e 's/ *$//g' > ${CSS}+ && mv ${CSS}+ ${CSS}
47
48
49 VERSION=$(fgrep Version ${HTML} | sed 's/.*Version \([0-9]\.[0-9]\.[0-9]\).*/\1/ ')
50 echo Now at version ${VERSION}
OLDNEW
« no previous file with comments | « doc/Makefile.in ('k') | doc/customdoxygen.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698