Merge pull request #109 from stikonas/texinfo

Remove remaining texinfo files.
This commit is contained in:
fosslinux 2021-04-20 19:20:02 +10:00 committed by GitHub
commit 456847efa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 43 additions and 17 deletions

View File

@ -3,7 +3,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm configure standards.info rm configure standards.info autoconf.info
touch autoconf.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,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() { src_prepare() {
rm configure standards.info rm configure standards.info autoconf.info
touch autoconf.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_compile() { src_compile() {
rm doc/standards.info doc/autoconf.info
cp autoconf.in autoconf cp autoconf.in autoconf
sed -i -e "s# @SHELL@#/bin/sh#" -e 's/@M4@/m4/' -e 's/@AWK@/awk/' \ sed -i -e "s# @SHELL@#/bin/sh#" -e 's/@M4@/m4/' -e 's/@AWK@/awk/' \
-e 's/@PACKAGE_NAME@/Autoconf/' -e 's/@VERSION@/2.52/' \ -e 's/@PACKAGE_NAME@/Autoconf/' -e 's/@VERSION@/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 doc/standards.info rm doc/standards.info doc/autoconf.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,9 @@
src_prepare() { src_prepare() {
default_src_prepare default_src_prepare
rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure doc/standards.info rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure
rm doc/standards.info doc/autoconf.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,9 @@
# 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 doc/standards.info rm Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 configure
rm doc/standards.info doc/autoconf.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

@ -5,6 +5,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
rm doc/standards.info doc/autoconf.info
aclocal-1.7 aclocal-1.7
sed -i 's/2.54/2.53/' aclocal.m4 sed -i 's/2.54/2.53/' aclocal.m4
cat config/m4.m4 >> aclocal.m4 cat config/m4.m4 >> aclocal.m4

View File

@ -5,6 +5,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
rm doc/standards.info doc/autoconf.info
autoreconf-2.54 autoreconf-2.54

View File

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

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 Makefile.in */Makefile.in aclocal.m4 rm configure Makefile.in */Makefile.in aclocal.m4 automake.info*
aclocal-1.6 aclocal-1.6
autoconf-2.52 autoconf-2.52
# When building with newer automake we get the following error # When building with newer automake we get the following error

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 Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
cp aclocal.in aclocal cp aclocal.in aclocal
cp m4/amversion.in m4/amversion.m4 cp m4/amversion.in m4/amversion.m4
} }

View File

@ -5,7 +5,7 @@
src_prepare() { src_prepare() {
sed -i '/Makefile/d' configure.in sed -i '/Makefile/d' configure.in
rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
aclocal-1.6 aclocal-1.6
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 configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
aclocal-1.6 aclocal-1.6
autoconf-2.52 autoconf-2.52
automake-1.6 automake-1.6

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 Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
autoreconf-2.55 autoreconf-2.55
} }

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 Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
sed -i -e 's/2.54/2.53/' -e '/AC_PROG_EGREP/d' -e '/AC_PROG_FGREP/d' configure.in sed -i -e 's/2.54/2.53/' -e '/AC_PROG_EGREP/d' -e '/AC_PROG_FGREP/d' configure.in
aclocal-1.6 aclocal-1.6
autoconf-2.53 autoconf-2.53

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 Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 rm configure Makefile.in */Makefile.in */*/Makefile.in aclocal.m4 automake.info*
autoreconf-2.54 autoreconf-2.54
} }

View File

@ -87,6 +87,9 @@ src_prepare() {
rm ld/ldlex.c rm ld/ldlex.c
rm gas/itbl-lex.c rm gas/itbl-lex.c
rm binutils/syslex.c binutils/rclex.c binutils/deflex.c binutils/arlex.c rm binutils/syslex.c binutils/rclex.c binutils/deflex.c binutils/arlex.c
# Remove prebuilt texinfo files
rm */*.info* */*/*.info*
} }
src_configure() { src_configure() {
@ -124,12 +127,12 @@ src_configure() {
src_compile() { src_compile() {
make -C bfd headers make -C bfd headers
for dir in libiberty bfd opcodes binutils gas gprof ld; do for dir in libiberty bfd opcodes binutils gas gprof ld; do
make -C $dir make -C $dir MAKEINFO=true
done done
} }
src_install() { src_install() {
for dir in libiberty bfd opcodes binutils gas gprof ld; do for dir in libiberty bfd opcodes binutils gas gprof ld; do
make -C $dir install DESTDIR=$(DESTDIR) make -C $dir install MAKEINFO=true DESTDIR="${DESTDIR}"
done done
} }

View File

@ -4,6 +4,9 @@
src_prepare() { src_prepare() {
autoreconf-2.59 -f autoreconf-2.59 -f
rm help2man.info
touch help2man.info
} }
src_configure() { src_configure() {
@ -11,7 +14,7 @@ src_configure() {
} }
src_compile() { src_compile() {
make make MAKEINFO=true
# fix a broken shebang # fix a broken shebang
tail -n +6 help2man > help2man.tmp tail -n +6 help2man > help2man.tmp
@ -19,3 +22,7 @@ src_compile() {
cat help2man.tmp >> help2man cat help2man.tmp >> help2man
rm help2man.tmp rm help2man.tmp
} }
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}

View File

@ -6,6 +6,8 @@ src_prepare() {
default_src_prepare default_src_prepare
AUTOCONF=autoconf-2.13 AUTOHEADER=autoheader-2.13 ACLOCAL=aclocal-1.4 AUTOMAKE=automake-1.4 ./bootstrap AUTOCONF=autoconf-2.13 AUTOHEADER=autoheader-2.13 ACLOCAL=aclocal-1.4 AUTOMAKE=automake-1.4 ./bootstrap
rm doc/libtool.info*
} }
src_configure() { src_configure() {
@ -19,5 +21,9 @@ src_configure() {
} }
src_compile() { src_compile() {
AR="tcc -ar" AR_FLAGS="cr" make DESTDIR="${DESTDIR}" AR="tcc -ar" AR_FLAGS="cr" make MAKEINFO=true
}
src_install() {
make install MAKEINFO=true DESTDIR="${DESTDIR}"
} }