summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-25 00:46:14 +0800
committerruki <[email protected]>2020-02-24 22:37:27 +0800
commiteeea33dc1b3c3ff991da796b52c4607f4b25bbb2 (patch)
treec46ba781064baa0f9a325794c04b5b0170644d32 /makefile
parent03529e13a387219b65f52e9616bc3d7c40814dca (diff)
fix makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 5587b9642..044957cba 100644
--- a/makefile
+++ b/makefile
@@ -111,9 +111,6 @@ install:
@if [ ! -d $(xmake_dir_install) ]; then mkdir -p $(xmake_dir_install); fi
@# ensure bin directory exists for PKGBUILD/pkg
@if [ ! -d $(destdir)/bin ]; then mkdir -p $(destdir)/bin; fi
- @# install the xmake core file
- @cp $(xmake_core) $(xmake_core_install)
- @chmod 777 $(xmake_core_install)
@# install the xmake directory
@cp -r xmake/* $(xmake_dir_install)
@# make the xmake loader
@@ -123,6 +120,9 @@ install:
@# install the xmake loader
@mv $(xmake_loader) $(xmake_loader_install)
@chmod 777 $(xmake_loader_install)
+ @# install the xmake core file
+ @cp $(xmake_core) $(xmake_core_install)
+ @chmod 777 $(xmake_core_install)
@# remove xmake.out
@if [ -f "$(TMP_DIR)/xmake.out" ]; then rm $(TMP_DIR)/xmake.out; fi
@# ok