mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
25 lines
620 B
Bash
Executable file
25 lines
620 B
Bash
Executable file
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
|
# SPDX-FileCopyrightText: 2022 Samuel Tyler <samuel@samuelt.me>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# Regenerate bison files
|
|
rm -f perly.c perly.h
|
|
bison -d perly.y
|
|
mv perly.tab.c perly.c
|
|
mv perly.tab.h perly.h
|
|
|
|
# Regenerate other prebuilt header files
|
|
rm -f embedvar.h
|
|
for file in embed keywords opcode; do
|
|
rm -f ${file}.h
|
|
perl ${file}.pl
|
|
done
|
|
rm -f regnodes.h
|
|
perl regcomp.pl
|
|
rm -f byterun.h byterun.c ext/B/B/Asmdata.pm
|
|
perl bytecode.pl
|
|
}
|