snapraid/makedist.sh
Andrea Mazzoleni d5e18adb95
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-arm32 (push) Waiting to run
Build / build-win (push) Waiting to run
Build / build-freebsd (push) Waiting to run
Build / build-musl (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
Build Linux and Windows out-of-tree in dedicated linux/ and windows/ directories
2026-09-26 19:06:59 +02:00

52 lines
717 B
Bash
Executable file

#!/bin/sh
#
# Ask root permissions at the start
sudo echo We are root
make distclean
# Reconfigure (with force) to get the latest revision from git
autoreconf -f
if ! ./configure.windows-x86 --enable-warning-as-error; then
exit 1
fi
if ! make -j4; then
exit 1
fi
if ! make distwindows-x86 distclean; then
exit 1
fi
if ! ./configure.windows-x64 --enable-warning-as-error; then
exit 1
fi
if ! make -j4; then
exit 1
fi
if ! make distwindows-x64 distclean; then
exit 1
fi
if ! ./configure --enable-warning-as-error; then
exit 1
fi
if ! make dist; then
exit 1
fi
sh makeslackdist.sh
sh makearchdist.sh
sudo sh makeslackware.sh
sudo sh makearch.sh
sudo sh makedeb.sh
sudo sh makerpm.sh
make distclean