diff options
| author | ruki <[email protected]> | 2020-10-29 00:22:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-10-29 00:22:46 +0800 |
| commit | 8c5cae770fc34871240575ef8029d5f0f8b364da (patch) | |
| tree | 84f57fa56f1dadfd5a694a38728c60c2146282c4 /makefile | |
| parent | e5c70421977cdcd866ace7ff8e0884be04a29880 (diff) | |
improve makefile
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -106,11 +106,10 @@ install: @# install the xmake directory @cp -r xmake/* $(xmake_dir_install) @# install the xmake core file - @cp $(xmake_core) $(xmake_core_install) + @cp -p $(xmake_core) $(xmake_core_install) @chmod 777 $(xmake_core_install) @# install the xrepo bin file - @echo '#!/usr/bin/env sh' > $(xrepo_bin_install) - @echo '$(xmake_core_install) lua private.xrepo "$$@"' >> $(xrepo_bin_install) + @cp -p scripts/xrepo.sh > $(xrepo_bin_install) @chmod 777 $(xrepo_bin_install) @# remove xmake.out @if [ -f "$(TMP_DIR)/xmake.out" ]; then rm $(TMP_DIR)/xmake.out; fi |
