<commit_before>blog_name=EEEE Works Blog
blog_desc=Welcome to our 4E planet!

all:
	-rm -rf out
	-mkdir out
	-cp ../../clients/js/*.js out/
	cp -r ../Blog/template .
	cp -r ../Blog/js .
	sed -i 's/resty\.eeeeworks\.org/api.eeeeworks.org/g' js/blog.js
	jemplate --compile template/elem/ > out/jemplates.js
	jemplate --runtime > out/Jemplate.js
	tpage --define 'blog_name=$(blog_name)' \
	    --define 'blog_desc=$(blog_desc)' \
	    --include_path=template template/index.tt > out/index.html
	cp js/*.js out/
	cp js/*/*.js out/
	cp css/*.css out/
	cp -r css/themes out/
	cp -r image/*.* out/
	tar cvf site-binary.tar out
	gzip --best site-binary.tar
	mv site-binary.tar.gz out/

upload: all
	script/upload
<commit_msg> r8308@agentz-office (orig r2162):  agentzh | 2008-04-04 15:04:40 +0800  demo/Blog2 - fixed the Makefile<commit_after>blog_name=EEEE Works Blog
blog_desc=Welcome to our 4E planet!
blog_owner=eeee

all:
	-rm -rf out
	-rm -rf js
	-rm -rf template
	-mkdir out
	-cp ../../clients/js/*.js out/
	cp -r ../Blog/template .
	cp -r ../Blog/js .
	sed -i 's/resty\.eeeeworks\.org/api.eeeeworks.org/g' js/blog.js
	sed -i 's/agentzh/eeee/g' js/blog.js
	jemplate --compile template/elem/ > out/jemplates.js
	jemplate --runtime > out/Jemplate.js
	tpage --define 'blog_name=$(blog_name)' \
	    --define 'blog_desc=$(blog_desc)' \
	    --define 'blog_owner=$(blog_owner)' \
	    --include_path=template template/index.tt > out/index.html
	cp js/*.js out/
	cp js/*/*.js out/
	cp css/*.css out/
	cp -r css/themes out/
	cp -r image/*.* out/
	tar cvf site-binary.tar out
	gzip --best site-binary.tar
	mv site-binary.tar.gz out/

upload: all
	script/upload

{'fraction_non_alphanumeric': 0.16767554479418886, 'fraction_numerical': 0.017554479418886198, 'mean_word_length': 2.6733333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6844231', 'n_tokens_mistral': 714, 'n_tokens_neox': 664, 'n_words': 168}