summaryrefslogtreecommitdiff
path: root/scripts/makepkg
diff options
context:
space:
mode:
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"