Remove pre-generated info files.

Fixes: #86
This commit is contained in:
Andrius Štikonas 2021-04-11 22:57:43 +01:00
parent 2423b77114
commit ddf05018a9
19 changed files with 48 additions and 7 deletions

View File

@ -3,7 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm configure rm configure standards.info
autoconf-2.52 autoconf-2.52
sed -i '/^acdatadir/s:$:-2.12:' Makefile.in sed -i '/^acdatadir/s:$:-2.12:' Makefile.in

View File

@ -3,7 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm configure rm configure standards.info
autoconf-2.52 autoconf-2.52
sed -i '/^acdatadir/s:$:-2.13:' Makefile.in sed -i '/^acdatadir/s:$:-2.13:' Makefile.in

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm doc/standards.info
rm Makefile.in */Makefile.in rm Makefile.in */Makefile.in
rm configure rm configure
autoconf-2.52 autoconf-2.52

View File

@ -5,7 +5,7 @@
src_prepare() { src_prepare() {
default_src_prepare default_src_prepare
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info
aclocal-1.6 aclocal-1.6
cat config/m4.m4 >> aclocal.m4 cat config/m4.m4 >> aclocal.m4
autoconf-2.52 autoconf-2.52

View File

@ -3,7 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info
aclocal-1.6 aclocal-1.6
cat config/m4.m4 >> aclocal.m4 cat config/m4.m4 >> aclocal.m4
autoconf-2.53 autoconf-2.53

View File

@ -4,7 +4,7 @@
src_prepare() { src_prepare() {
rm bin/autoconf.in rm bin/autoconf.in
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info
autoreconf-2.54 autoreconf-2.54

View File

@ -4,6 +4,7 @@
src_prepare() { src_prepare() {
rm bin/autoconf.in rm bin/autoconf.in
rm doc/standards.info
autoreconf-2.55 -f autoreconf-2.55 -f

View File

@ -4,6 +4,7 @@
src_prepare() { src_prepare() {
rm bin/autoconf.in rm bin/autoconf.in
rm doc/standards.info
autoreconf-2.57 -f autoreconf-2.57 -f

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm doc/standards.info
sed -i -e '/AC_PROG_GREP/d' -e '/AC_PROG_SED/d' configure.ac sed -i -e '/AC_PROG_GREP/d' -e '/AC_PROG_SED/d' configure.ac
autoreconf-2.59 -f autoreconf-2.59 -f

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm doc/standards.info
autoreconf-2.61 -f autoreconf-2.61 -f
# Install autoconf data files into versioned directory # Install autoconf data files into versioned directory

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm doc/standards.info
autoreconf-2.61 -f autoreconf-2.61 -f
# Install autoconf data files into versioned directory # Install autoconf data files into versioned directory

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm doc/standards.info
autoreconf-2.65 -f autoreconf-2.65 -f
# Install autoconf data files into versioned directory # Install autoconf data files into versioned directory

View File

@ -6,6 +6,8 @@ src_prepare() {
default_src_prepare default_src_prepare
autoreconf-2.69 -f autoreconf-2.69 -f
rm doc/automake-history.info
} }
src_configure() { src_configure() {

View File

@ -6,6 +6,8 @@ src_prepare() {
default_src_prepare default_src_prepare
autoreconf-2.69 -f autoreconf-2.69 -f
rm doc/automake-history.info
} }
src_configure() { src_configure() {

View File

@ -6,6 +6,8 @@ src_prepare() {
default_src_prepare default_src_prepare
./bootstrap ./bootstrap
rm doc/automake-history.info
} }
src_configure() { src_configure() {

View File

@ -6,9 +6,20 @@ src_prepare() {
. ../../import-gnulib.sh . ../../import-gnulib.sh
autoreconf-2.61 -f autoreconf-2.61 -f
# Pre-build texinfo files
rm doc/find.info
} }
src_configure() { src_configure() {
# Musl is not recognized, pretend to be uClibc # Musl is not recognized, pretend to be uClibc
CC=tcc ./configure --prefix="${PREFIX}" CPPFLAGS="-D__UCLIBC__" CC=tcc ./configure --prefix="${PREFIX}" CPPFLAGS="-D__UCLIBC__"
} }
src_compile() {
make MAKEINFO=true DESTDIR="${DESTDIR}"
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}

View File

@ -57,7 +57,10 @@ src_prepare() {
rm gcc/gengtype-lex.c rm gcc/gengtype-lex.c
# Remove translation catalogs # Remove translation catalogs
rm gcc/po/*.gmo find . -name '*.gmo' -delete
# Pre-build texinfo files
find . -name '*.info' -delete
} }
src_configure() { src_configure() {

View File

@ -56,7 +56,10 @@ src_prepare() {
rm gcc/gengtype-lex.c rm gcc/gengtype-lex.c
# Remove translation catalogs # Remove translation catalogs
rm gcc/po/*.gmo find . -name '*.gmo' -delete
# Pre-build texinfo files
find . -name '*.info' -delete
} }
src_configure() { src_configure() {

View File

@ -9,6 +9,9 @@ src_prepare() {
rm demos/calc/calc.{c,h} demos/calc/calclex.c rm demos/calc/calc.{c,h} demos/calc/calclex.c
autoreconf -f -i autoreconf -f -i
# Pre-build texinfo files
find . -name '*.info*' -delete
} }
src_configure() { src_configure() {
@ -19,3 +22,11 @@ src_configure() {
--target=i386-unknown-linux-gnu \ --target=i386-unknown-linux-gnu \
--libdir="${PREFIX}/lib/musl" --libdir="${PREFIX}/lib/musl"
} }
src_compile() {
make MAKEINFO=true DESTDIR="${DESTDIR}"
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}