<commit_before>DESTDIR := /usr/local
SHAREDIR := ${DESTDIR}/share/pegexel
BINDIR := ${DESTDIR}/bin
LIBDIR := ${SHAREDIR}/lib
HOOKDIR := ${SHAREDIR}/hooks
GRAMMARDIR := ${SHAREDIR}/grammars

LISP := /usr/bin/sbcl

CMD_SHEBANG := case ${LISP} in \
*"sbcl") echo  "\#\!${LISP} --script";;\
*"clisp") echo "\#\!${LISP} -q -q";;\
esac

SHEBANG := $(shell $(CMD_SHEBANG))

all: shebang

shebang:
	@echo "${SHEBANG}"
 <commit_msg>Install files with Makefile.<commit_after>DESTDIR := /usr/local

INSTALL := install

SHAREDIR := ${DESTDIR}/share/pegexel
BINDIR := ${DESTDIR}/bin
LIBDIR := ${SHAREDIR}/lib
HOOKDIR := ${SHAREDIR}/hooks
GRAMMARDIR := ${SHAREDIR}/grammars
EXAMPLESDIR := ${DESTDIR}/doc/pegexel/examples

LISP := /usr/bin/sbcl

CMD_SHEBANG := case ${LISP} in \
*"sbcl") echo  "\#\!${LISP} --script";;\
*"clisp") echo "\#\!${LISP} -q -q";;\
esac

SHEBANG := $(shell $(CMD_SHEBANG))

SCRIPT := $(shell ls src/bin/*.lsp)
LIBS := $(shell ls  src/lib/*.lsp)
HOOKS :=  $(shell ls src/hooks/*.lsp)
GRAMMARS := $(shell ls src/grammars/*.grammar)
EXAMPLES := $(shell ls examples/*.pgxl)

all:
	echo ${LIBS}
shebang:
	@echo "${SHEBANG}"

install: install-bin install-hooks install-libs install-grammars

install-bin:
	${INSTALL} -d ${BINDIR}
	${INSTALL} -m 755  -t ${BINDIR} ${SCRIPT}

install-hooks:
	${INSTALL} -d ${HOOKDIR}
	${INSTALL} -m 755  -t ${HOOKDIR} ${HOOKS}

install-libs:
	${INSTALL} -d ${LIBDIR}
	${INSTALL} -m 755  -t ${LIBDIR} ${LIBS}

install-grammars:
	${INSTALL} -d ${GRAMMARDIR}
	${INSTALL} -m 755  -t ${GRAMMARDIR} ${GRAMMARS}


{'fraction_non_alphanumeric': 0.2237354085603113, 'fraction_numerical': 0.007782101167315175, 'mean_word_length': 4.266211604095563, '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': '7158009', 'n_tokens_mistral': 703, 'n_tokens_neox': 677, 'n_words': 145}