mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
scripts/autoreconf: general cleanup
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
c1471c1ffd
commit
dfb1ae0d3e
@ -2,22 +2,21 @@
|
|||||||
|
|
||||||
# SPDX-License-Identifier: GPL-2.0-or-later
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
||||||
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
. config/options $1
|
. config/options "${1}"
|
||||||
|
|
||||||
if [ ! -f "$PKG_BUILD/configure.in" \
|
if [ ! -f "${PKG_BUILD}/configure.in" \
|
||||||
-a ! -f "$PKG_BUILD/configure.ac" ] ; then
|
-a ! -f "${PKG_BUILD}/configure.ac" ]; then
|
||||||
echo "configure.in or configure.ac not found"
|
die "configure.in or configure.ac not found"
|
||||||
exit 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f $PKG_BUILD/.autoreconf-done ] ; then
|
if [ ! -f "${PKG_BUILD}/.autoreconf-done" ]; then
|
||||||
touch $PKG_BUILD/NEWS $PKG_BUILD/AUTHORS $PKG_BUILD/ChangeLog
|
touch "${PKG_BUILD}/NEWS" "${PKG_BUILD}/AUTHORS" "${PKG_BUILD}/ChangeLog"
|
||||||
mkdir -p $PKG_BUILD/m4
|
mkdir -p "${PKG_BUILD}/m4"
|
||||||
|
|
||||||
printf "%${BUILD_INDENT}c $(print_color CLR_AUTORECONF "AUTORECONF") $1\n" ' '>&$SILENT_OUT
|
build_msg "CLR_AUTORECONF" "AUTORECONF" "${1}" "indent"
|
||||||
export BUILD_INDENT=$((${BUILD_INDENT:-1}+$BUILD_INDENT_SIZE))
|
|
||||||
|
|
||||||
do_autoreconf $PKG_BUILD
|
do_autoreconf "${PKG_BUILD}"
|
||||||
touch $PKG_BUILD/.autoreconf-done
|
touch "${PKG_BUILD}/.autoreconf-done"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user