mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 09:15:23 +01:00
coreutils: various fixes.
* Properly define coreutils versions, so that it is available in --version * Move after tar. Later we can move this after gettext/texinfo too. * There are no prebuilt files in git archive, remove function to delete info files.
This commit is contained in:
parent
059ba1afc2
commit
a4889dfb9e
5 changed files with 121 additions and 125 deletions
|
|
@ -2,12 +2,6 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# Remove pre-generated files from source code.
|
||||
remove_generated_files() {
|
||||
find . -name '*.info' -delete
|
||||
find . -name '*.gmo' -delete
|
||||
}
|
||||
|
||||
regenerate_files() {
|
||||
build-aux/gen-lists-of-programs.sh --autoconf > m4/cu-progs.m4
|
||||
build-aux/gen-lists-of-programs.sh --automake > src/cu-progs.mk
|
||||
|
|
@ -21,13 +15,15 @@ regenerate_files() {
|
|||
# dependency.
|
||||
cp man/dummy-man man/help2man
|
||||
|
||||
VERSION=$(basename ${BASH_SOURCE[0]} .sh | sed 's/coreutils-//')
|
||||
echo $VERSION > .tarball-version
|
||||
|
||||
# We don't have autopoint from gettext yet.
|
||||
AUTOPOINT=true autoreconf-2.69 -fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
remove_generated_files
|
||||
regenerate_files
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue