<commit_before>PREFIX?=	/usr/local
CC?=		clang
CFLAGS=		-I/usr/local/include
LDFLAGS=	-L/usr/local/lib -lsqlite3
man7dir?=	/usr/local/man/man7

all: pkg-compare

pkg-compare:
	${CC} -std=c99 -O2 -Wall -Werror ${CFLAGS} ${LDFLAGS} -o pkg-compare map_lib.c pkg-compare.c

clean:
	rm -f pkg-compare

install:
	install -m 0755 -g wheel -o root pkg-compare ${PREFIX}/bin
	-install -m 0644 -g wheel -o root pkg-compare.7 ${man7dir}

deinstall:
	rm -f ${PREFIX}/bin/pkg-compare
	rm -f ${man7dir}/pkg-compare.7<commit_msg>staging support<commit_after>PREFIX?=	/usr/local
CC?=		clang
CFLAGS=		-I/usr/local/include
LDFLAGS=	-L/usr/local/lib -lsqlite3
man7dir?=	/usr/local/man/man7

all: pkg-compare

pkg-compare:
	${CC} -std=c99 -O2 -Wall -Werror ${CFLAGS} ${LDFLAGS} -o pkg-compare map_lib.c pkg-compare.c

clean:
	rm -f pkg-compare

install:
	install -m 0755 -g wheel -o root pkg-compare ${STAGEDIR}${PREFIX}/bin
	-install -m 0644 -g wheel -o root pkg-compare.7 ${STAGEDIR}${man7dir}

deinstall:
	rm -f ${STAGEDIR}${PREFIX}/bin/pkg-compare
	rm -f ${STAGEDIR}${man7dir}/pkg-compare.7
{'fraction_non_alphanumeric': 0.16945996275605213, 'fraction_numerical': 0.0335195530726257, 'mean_word_length': 3.6739130434782608, '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': '1801963', 'n_tokens_mistral': 491, 'n_tokens_neox': 464, 'n_words': 110}