<commit_before>DESCRIPTION = "GNU roff"
SECTION = "base"
LICENSE = "GPL"
PR = "r5"

SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \
	           file://Makefile.in.patch;patch=1 \
	           file://Makefile.sub.patch;patch=1 \
	           file://groff.patch;patch=1"

PARALLEL_MAKE = ""
# prefix and exec-prefix are broken and the .in file is broken too
# and can't be autoreconf'ed, so specify every dir
EXTRA_OECONF="--without-x --prefix=${D} --exec-prefix=${D} --bindir=${D}${bindir} --datadir=${D}${datadir} --mandir=${D}${datadir}/man --infodir=${D}${datadir}/info --with-appresdir=${D}${datadir}"
inherit autotools

do_configure() {
	oe_runconf
}

#
# The installer refuses to do anything if the prefix directory does not
# already exist, so create it manually before the standard install runs.
#
do_install_prepend() {
	install -m 0755 -d ${D}
}<commit_msg>groff-1.19.2: avoid running install-info when installing the package<commit_after>DESCRIPTION = "GNU roff"
SECTION = "base"
LICENSE = "GPL"
PR = "r6"

SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \
	           file://Makefile.in.patch;patch=1 \
	           file://Makefile.sub.patch;patch=1 \
	           file://groff.patch;patch=1"

inherit autotools

PARALLEL_MAKE = ""
# prefix and exec-prefix are broken and the .in file is broken too
# and can't be autoreconf'ed, so specify every dir
EXTRA_OECONF="--without-x --prefix=${D} --exec-prefix=${D} --bindir=${D}${bindir} --datadir=${D}${datadir} --mandir=${D}${datadir}/man --infodir=${D}${datadir}/info --with-appresdir=${D}${datadir}"
EXTRA_OEMAKE = "INSTALL_INFO=:"

do_configure() {
	oe_runconf
}

#
# The installer refuses to do anything if the prefix directory does not
# already exist, so create it manually before the standard install runs.
#
do_install_prepend() {
	install -m 0755 -d ${D}
}
{'fraction_non_alphanumeric': 0.16938110749185667, 'fraction_numerical': 0.010857763300760043, 'mean_word_length': 3.7256410256410257, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '640749', 'n_tokens_mistral': 691, 'n_tokens_neox': 659, 'n_words': 161}