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

Side by Side Diff: ports/vim/build.sh

Issue 1405293003: Use cp -a instead of cp -ar. (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Created 5 years, 2 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 | « ports/emacs/build.sh ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Native Client Authors. All rights reserved. 1 # Copyright (c) 2013 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 BUILD_DIR=${SRC_DIR} 5 BUILD_DIR=${SRC_DIR}
6 EXTRA_CONFIGURE_ARGS+="--enable-gui=no --with-tlib=ncurses" 6 EXTRA_CONFIGURE_ARGS+="--enable-gui=no --with-tlib=ncurses"
7 EXTRA_CONFIGURE_ARGS+=" --prefix=/usr --exec-prefix=/usr" 7 EXTRA_CONFIGURE_ARGS+=" --prefix=/usr --exec-prefix=/usr"
8 EXECUTABLES=src/vim${NACL_EXEEXT} 8 EXECUTABLES=src/vim${NACL_EXEEXT}
9 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}" 9 export EXTRA_LIBS="${NACL_CLI_MAIN_LIB}"
10 10
(...skipping 28 matching lines...) Expand all
39 DefaultInstallStep 39 DefaultInstallStep
40 LogExecute mv ${INSTALL_DIR}/usr ${INSTALL_DIR}${PREFIX} 40 LogExecute mv ${INSTALL_DIR}/usr ${INSTALL_DIR}${PREFIX}
41 } 41 }
42 42
43 PublishStep() { 43 PublishStep() {
44 MakeDir ${PUBLISH_DIR} 44 MakeDir ${PUBLISH_DIR}
45 local ASSEMBLY_DIR="${PUBLISH_DIR}/vim" 45 local ASSEMBLY_DIR="${PUBLISH_DIR}/vim"
46 46
47 MakeDir ${ASSEMBLY_DIR}/vimtar/usr 47 MakeDir ${ASSEMBLY_DIR}/vimtar/usr
48 ChangeDir ${ASSEMBLY_DIR}/vimtar 48 ChangeDir ${ASSEMBLY_DIR}/vimtar
49 LogExecute cp -ar ${INSTALL_DIR}${PREFIX}/* ./usr/ 49 LogExecute cp -a ${INSTALL_DIR}${PREFIX}/* ./usr/
50 LogExecute cp usr/bin/vim${NACL_EXEEXT} ../vim_${NACL_ARCH}${NACL_EXEEXT} 50 LogExecute cp usr/bin/vim${NACL_EXEEXT} ../vim_${NACL_ARCH}${NACL_EXEEXT}
51 LogExecute cp $SRC_DIR/runtime/vimrc_example.vim usr/share/vim/vimrc 51 LogExecute cp $SRC_DIR/runtime/vimrc_example.vim usr/share/vim/vimrc
52 LogExecute rm -rf usr/bin 52 LogExecute rm -rf usr/bin
53 LogExecute rm -rf usr/share/man 53 LogExecute rm -rf usr/share/man
54 tar cf ${ASSEMBLY_DIR}/vim.tar . 54 tar cf ${ASSEMBLY_DIR}/vim.tar .
55 Remove ${ASSEMBLY_DIR}/vimtar 55 Remove ${ASSEMBLY_DIR}/vimtar
56 shasum ${ASSEMBLY_DIR}/vim.tar > ${ASSEMBLY_DIR}/vim.tar.hash 56 shasum ${ASSEMBLY_DIR}/vim.tar > ${ASSEMBLY_DIR}/vim.tar.hash
57 cd ${ASSEMBLY_DIR} 57 cd ${ASSEMBLY_DIR}
58 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \ 58 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \
59 vim_*${NACL_EXEEXT} \ 59 vim_*${NACL_EXEEXT} \
60 -s . \ 60 -s . \
61 -o vim.nmf 61 -o vim.nmf
62 LogExecute python ${TOOLS_DIR}/create_term.py vim.nmf 62 LogExecute python ${TOOLS_DIR}/create_term.py vim.nmf
63 63
64 GenerateManifest ${START_DIR}/manifest.json ${ASSEMBLY_DIR} 64 GenerateManifest ${START_DIR}/manifest.json ${ASSEMBLY_DIR}
65 InstallNaClTerm ${ASSEMBLY_DIR} 65 InstallNaClTerm ${ASSEMBLY_DIR}
66 LogExecute cp ${START_DIR}/background.js ${ASSEMBLY_DIR} 66 LogExecute cp ${START_DIR}/background.js ${ASSEMBLY_DIR}
67 LogExecute cp ${START_DIR}/vim.html ${ASSEMBLY_DIR} 67 LogExecute cp ${START_DIR}/vim.html ${ASSEMBLY_DIR}
68 LogExecute cp ${START_DIR}/vim_app.html ${ASSEMBLY_DIR} 68 LogExecute cp ${START_DIR}/vim_app.html ${ASSEMBLY_DIR}
69 LogExecute cp ${START_DIR}/vim.js ${ASSEMBLY_DIR} 69 LogExecute cp ${START_DIR}/vim.js ${ASSEMBLY_DIR}
70 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR} 70 LogExecute cp ${START_DIR}/icon_16.png ${ASSEMBLY_DIR}
71 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR} 71 LogExecute cp ${START_DIR}/icon_48.png ${ASSEMBLY_DIR}
72 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR} 72 LogExecute cp ${START_DIR}/icon_128.png ${ASSEMBLY_DIR}
73 ChangeDir ${PUBLISH_DIR} 73 ChangeDir ${PUBLISH_DIR}
74 CreateWebStoreZip vim-${VERSION}.zip vim 74 CreateWebStoreZip vim-${VERSION}.zip vim
75 } 75 }
OLDNEW
« no previous file with comments | « ports/emacs/build.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698