<commit_before>#!/bin/sh
# Run this to generate all the initial makefiles, etc.

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`
cd $srcdir

rm -rf autom4te.cache

GTKDOCIZE=$(which gtkdocize 2>/dev/null)
if test -z $GTKDOCIZE; then
        echo "*** You don't have gtk-doc installed, and thus won't be able to generate the documentation. ***"
        rm -f gtk-doc.make
        cat > gtk-doc.make <<EOF
EXTRA_DIST =
CLEANFILES =
EOF
else
        gtkdocize || exit $?
fi

AUTORECONF=$(which autoreconf 2>/dev/null)
if test -z $AUTORECONF; then
        echo "*** No autoreconf found, please install it ***"
        exit 1
else
        autoreconf --force --install --verbose || exit $?
fi

# NOCONFIGURE is used by gnome-common
if test -z "$NOCONFIGURE"; then
        if test -z "$*"; then
                echo "I am going to run ./configure with no arguments - if you wish "
                echo "to pass any to it, please specify them on the $0 command line."
        fi
fi

cd "$olddir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"<commit_msg>build: Clean up autogen<commit_after>#!/bin/sh
# Run this to generate all the initial makefiles, etc.

test -n "$srcdir" || srcdir=`dirname "$0"`
test -n "$srcdir" || srcdir=.

olddir=`pwd`
cd $srcdir

rm -rf autom4te.cache

AUTORECONF=$(which autoreconf 2>/dev/null)
GTKDOCIZE=$(which gtkdocize 2>/dev/null)

set -x

if test -z $GTKDOCIZE; then
        echo "*** You don't have gtk-doc installed; the API reference will"
        echo "*** not be available to the build."
        rm -f gtk-doc.make
        echo "# This file is autogenerated" > gtk-doc.make
        echo "EXTRA_DIST =" >> gtk-doc.make
        echo "CLEANFILES =" >> gtk-doc.make
else
        gtkdocize || exit $?
fi

if test -z $AUTORECONF; then
        echo "*** No autoreconf found, please install it ***"
        exit 1
else
        autoreconf --force --install --verbose || exit $?
fi

# NOCONFIGURE is used by gnome-common
if test -z "$NOCONFIGURE"; then
        if test -z "$*"; then
                echo "*** I am going to run ./configure with no arguments - if you wish"
                echo "*** to pass any to it, please specify them on the $0 command line."
        fi
fi

cd "$olddir"
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"

{ set +x; } 2>/dev/null
{'fraction_non_alphanumeric': 0.13445017182130584, 'fraction_numerical': 0.005584192439862543, 'mean_word_length': 2.5449010654490105, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '3036846', 'n_tokens_mistral': 804, 'n_tokens_neox': 792, 'n_words': 284}