mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
CI: Only run autogen.sh if it has not already run.
This commit is contained in:
parent
32287dc8de
commit
0dec634e70
1 changed files with 9 additions and 4 deletions
|
@ -102,12 +102,17 @@ if [ "$PHASE" = "all" ] || [ "$PHASE" = "build" ]; then
|
||||||
mkdir -p "$DEST_DIR"
|
mkdir -p "$DEST_DIR"
|
||||||
case $BUILD_SYSTEM in
|
case $BUILD_SYSTEM in
|
||||||
autotools)
|
autotools)
|
||||||
# Run autogen.sh script
|
|
||||||
cd "$SRC_DIR"
|
cd "$SRC_DIR"
|
||||||
"./autogen.sh"
|
|
||||||
cd "$DEST_DIR"
|
|
||||||
# Generate configure option values
|
|
||||||
|
|
||||||
|
# Run autogen.sh script if not already run
|
||||||
|
if [ ! -f configure ]
|
||||||
|
then
|
||||||
|
"./autogen.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$DEST_DIR"
|
||||||
|
|
||||||
|
# Generate configure option values
|
||||||
EXTRA_OPTIONS=""
|
EXTRA_OPTIONS=""
|
||||||
FILTER_LIST="lzma1,lzma2"
|
FILTER_LIST="lzma1,lzma2"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue