Use of a Linux initramfs to fully automate the bootstrapping process
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
476 B

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <>
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
mv lib/ lib/textstyle.h
# Remove pre-generated flex/bison files
rm src/parse-gram.c src/parse-gram.h
rm src/scan-code.c
rm src/scan-gram.c
rm src/scan-skel.c
# Simplified bison grammar
mv parse-gram.y src/
cp ../../mk/ lib/Makefile
cp ../../mk/ src/Makefile