[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build from tarball uses bison

From: Bruno Haible
Subject: build from tarball uses bison
Date: Sat, 20 Feb 2021 01:06:24 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-201-generic; KDE/5.18.0; x86_64; ; )

A build of poke-0.90 uses bison:

bison -d -t --report=state --output pk-map-tab.c \

While the GCS allow this (see
it is a best practice to avoid bison as a build prerequisite, by packaging
the generated files in the tarball. See

The attached patch to poke/Makefile.am fixes this.

The libpoke/ subdirectory has a related problem: It distributes the
pkl-tab.h and pkl-tab.c files (good!), but erases them during "make clean".
After "make clean", "make" then needs bison here as well:

bison -d -t --report=state --output pkl-tab.c \

Also fixed in the patch.

Attachment: 0001-Make-it-possible-to-build-the-tarballs-without-bison.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]