summaryrefslogtreecommitdiff
path: root/scripts/makepkg
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-23 14:30:02 +0800
committerGitHub <[email protected]>2022-12-23 14:30:02 +0800
commit810a669b1aba6d2d57ce61faa5a1b4a70e7c5980 (patch)
tree5904c4ba1b291485643fffe6fe41c0a0bb9280bc /scripts/makepkg
parent853132f7d40c5adf0f236cb125d14e5cbd7a02f9 (diff)
parentf2f69542ea67f22f2d62fd43478e26853eca02b8 (diff)
Merge pull request #3197 from xmake-io/xmake.sh
Switch to new get.sh
Diffstat (limited to 'scripts/makepkg')
-rwxr-xr-xscripts/makepkg5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/makepkg b/scripts/makepkg
index 1967694d8..1aa62079e 100755
--- a/scripts/makepkg
+++ b/scripts/makepkg
@@ -48,12 +48,13 @@ if [ `uname` == "Darwin" ]; then
fi
# build first
-make build
+./configure
+make
# make dep package using fpm
fpm -s dir -t $target -n xmake -v $version -m "<[email protected]>" --description "A cross-platform build utility based on Lua" --url "xmake.io" --license Apache \
xmake=/usr/local/share/ \
- core/src/demo/demo.b=/usr/local/bin/xmake \
+ build/xmake=/usr/local/bin/xmake \
scripts/xrepo.sh=/usr/local/bin/xrepo
if [ "$target" == "osxpkg" ]; then
mv "xmake-$version.pkg" "$artifactsdir/xmake.pkg"