OLD | NEW |
1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 ConfigureStep() { | 5 ConfigureStep() { |
6 Banner "Autogen ${PACKAGE_NAME}" | 6 Banner "Autogen ${PACKAGE_NAME}" |
7 pushd ${SRC_DIR}/test | 7 pushd ${SRC_DIR}/test |
8 LogExecute ./autogen.sh | 8 LogExecute ./autogen.sh |
9 popd | 9 popd |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 InstallStep() { | 21 InstallStep() { |
22 Remove ${PUBLISH_DIR} | 22 Remove ${PUBLISH_DIR} |
23 MakeDir ${PUBLISH_DIR} | 23 MakeDir ${PUBLISH_DIR} |
24 LogExecute cp *${NACL_EXEEXT} ${PUBLISH_DIR} | 24 LogExecute cp *${NACL_EXEEXT} ${PUBLISH_DIR} |
25 ChangeDir ${SRC_DIR}/test | 25 ChangeDir ${SRC_DIR}/test |
26 LogExecute cp *.bmp *.wav *.xbm *.dat *.txt ${PUBLISH_DIR} | 26 LogExecute cp *.bmp *.wav *.xbm *.dat *.txt ${PUBLISH_DIR} |
27 ChangeDir ${PUBLISH_DIR} | 27 ChangeDir ${PUBLISH_DIR} |
28 for NEXE in *${NACL_EXEEXT}; do | 28 for NEXE in *${NACL_EXEEXT}; do |
29 LogExecute "${NACL_SDK_ROOT}/tools/create_html.py" ${NEXE} | 29 LogExecute "${NACL_SDK_ROOT}/tools/create_html.py" ${NEXE} |
30 done | 30 done |
31 if [ ${NACL_ARCH} = "pnacl" ]; then | 31 if [ ${NACL_ARCH} = "pnacl" || ${NACL_ARCH} = "le32" ]; then |
32 sed -i.bak 's/x-nacl/x-pnacl/' *.html | 32 sed -i.bak 's/x-nacl/x-pnacl/' *.html |
33 fi | 33 fi |
34 } | 34 } |
OLD | NEW |