<commit_before># $Id$

RM                              = rm -f
PHP                             = php -q
SED                             = sed
LN                              = ln -s

PHPBASE = ${wildcard */text.php}
PHPHTML = ${subst text.php,index.html,${PHPBASE}}


# General rule based only on target filename and location
# Hack: uses complicated path to index.php to declare this 
# directory for _SERVER[PHP_SELF]
%/index.html : %/text.php shared/*.php shared/*.css
	cd $* ; ${PHP} ../$*/../shared/index.php > index.html

# Generate HTML files from source versions
default: all
all: ${PHPHTML}

clean:
	${RM} ${PHPHTML}

.PHONY: default all clean<commit_msg>Changed to remove pydoc-generated documentation only, since that can always be regenerated.  Kept PHP documentation around by default, since not everyone will have PHP, and it will rarely need updating anyway<commit_after># $Id$

RM                              = rm -f
PHP                             = php -q
SED                             = sed
LN                              = ln -s

PHPBASE = ${wildcard */text.php}
PHPHTML = ${subst text.php,index.html,${PHPBASE}}


# General rule based only on target filename and location
# Hack: uses complicated path to index.php to declare this 
# directory for _SERVER[PHP_SELF]
%/index.html : %/text.php shared/*.php shared/*.css
	cd $* ; ${PHP} ../$*/../shared/index.php > index.html

# Generate HTML files from source versions
default: all
all: ${PHPHTML}

clean:
	${RM} Reference_Manual/topo*.html

# Not removed by default, for people who do not have PHP locally
clean-php:
	${RM} ${PHPHTML}

.PHONY: default all clean clean-php

{'fraction_non_alphanumeric': 0.11300121506682867, 'fraction_numerical': 0.0, 'mean_word_length': 2.191860465116279, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1243652', 'n_tokens_mistral': 493, 'n_tokens_neox': 479, 'n_words': 175}