<commit_before># Makefile
#
# $Id$

PHP=        php -q -C
PORTSDIR!=  echo ${.CURDIR} | sed -E 's(.*/ports)/(.+)$$\1g'
DISTDIR=    ${PORTSDIR}/dist

.PHONY:	build

all:    usage

usage:
	@echo "Usage: make dist"
	@echo "       - Make distribution"
	@echo ""
	@echo "       make clean"
	@echo "       - Clean port directory"
	@echo ""
	@echo "       make req DIR=<directory>"
	@echo "       - Get required files for a collection directory"
	@echo ""   

build:
	@${PHP} ${PORTSDIR}/build.php ${.CURDIR}

dist:	build
	@ls -ll ${.CURDIR}/build/
	cd ${.CURDIR}/build/ ; tar cvfz port.tar.gz *
    
clean:
	@-rm -rf ${.CURDIR}/build

req:
	find ${DIR} -name '*.class.php' | ${PHP} ${PORTSDIR}/req.php<commit_msg>- Make clean more verbose - Make dist less verbose<commit_after># Makefile
#
# $Id$

PHP=        php -q -C
PORTSDIR!=  echo ${.CURDIR} | sed -E 's(.*/ports)/(.+)$$\1g'
DISTDIR=    ${PORTSDIR}/dist

.PHONY:	build

all:    usage

usage:
	@echo "Usage: make dist"
	@echo "       - Make distribution"
	@echo ""
	@echo "       make clean"
	@echo "       - Clean port directory"
	@echo ""
	@echo "       make req DIR=<directory>"
	@echo "       - Get required files for a collection directory"
	@echo ""   

build:
	@${PHP} ${PORTSDIR}/build.php ${.CURDIR}

dist:	build
	cd ${.CURDIR}/build/ ; tar cvfz port.tar.gz *
    
clean:
	-rm -rf ${.CURDIR}/build

req:
	find ${DIR} -name '*.class.php' | ${PHP} ${PORTSDIR}/req.php
{'fraction_non_alphanumeric': 0.19244226731980407, 'fraction_numerical': 0.0013995801259622112, 'mean_word_length': 2.575, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '300449', 'n_tokens_mistral': 580, 'n_tokens_neox': 566, 'n_words': 152}