<commit_before>all: resume.html resume-web.html resume.pdf resume-web.pdf

resume.html: generate.rb resume.yml private.yml resume.html.erb
	@./generate.rb html

resume-web.html: generate.rb resume.yml resume.html.erb
	@./generate.rb html web

resume.tex: generate.rb resume.yml private.yml resume.tex.erb
	@./generate.rb tex

resume.pdf: resume.tex res.cls
	@pdflatex -interaction=batchmode resume.tex

resume-web.tex: generate.rb resume.yml resume.tex.erb
	@./generate.rb tex web

resume-web.pdf: resume-web.tex res.cls
	@pdflatex -interaction=batchmode resume-web.tex

.PHONY: clean
clean:
	rm -rf resume.html resume-web.html
	rm -rf resume.tex resume-web.tex
	rm -rf resume.log resume-web.log
	rm -rf resume.pdf resume-web.pdf<commit_msg>Makefile rule for publishing resume<commit_after>all: resume.html resume-web.html resume.pdf resume-web.pdf

resume.html: generate.rb resume.yml private.yml resume.html.erb
	@./generate.rb html

resume-web.html: generate.rb resume.yml resume.html.erb
	@./generate.rb html web

resume.tex: generate.rb resume.yml private.yml resume.tex.erb
	@./generate.rb tex

resume.pdf: resume.tex res.cls
	@pdflatex -interaction=batchmode resume.tex

resume-web.tex: generate.rb resume.yml resume.tex.erb
	@./generate.rb tex web

resume-web.pdf: resume-web.tex res.cls
	@pdflatex -interaction=batchmode resume-web.tex

.PHONY: publish
publish: resume-web.html resume-web.pdf resume-web.tex
	scp resume-web.html <EMAIL>:~/www/resume/YeeMing-Ho_resume_online.html
	scp resume-web.pdf <EMAIL>:~/www/resume/YeeMing-Ho_resume_online.pdf
	scp resume-web.tex  <EMAIL>:~/www/resume/YeeMing-Ho_resume_online.tex

.PHONY: clean
clean:
	rm -rf resume.html resume-web.html
	rm -rf resume.tex resume-web.tex
	rm -rf resume.log resume-web.log
	rm -rf resume.pdf resume-web.pdf
{'fraction_non_alphanumeric': 0.12632755729457798, 'fraction_numerical': 0.0, 'mean_word_length': 4.014005602240896, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, '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': '6373506', 'n_tokens_mistral': 675, 'n_tokens_neox': 674, 'n_words': 146}