# SPDX-FileCopyrightText: 2024 Samuel Tyler <samuel@samuelt.me>
#
# SPDX-License-Identifier: GPL-3.0-or-later

src_prepare() {
    default

    # texinfo
    rm doc/*.info

    # bison
    rm awkgram.c command.c
}

src_configure() {
    CFLAGS="-std=gnu11" ./configure --prefix="${PREFIX}"
}
