<commit_before>
all: pdf html

pdf: broker.pdf
html: broker.html

INPUTS=README.md

broker.tex: $(INPUTS)
	pandoc --toc --standalone $(INPUTS) -o $@

broker.html: $(INPUTS)
	pandoc --toc --standalone $(INPUTS) -f html -o $@

PACKS=lwt,lwt.unix,lwt.syntax,cohttp,cohttp.lwt,xenstore,xenstore.server,xenstore.client,rpc-light,rpc-light.json,rpc-light.syntax

switch: xs_transport_unix.cmx switch.cmx
	ocamlfind ocamlopt -package "${PACKS}" -linkpkg -o switch xs_transport_unix.cmx switch.cmx

%.cmx: %.ml
	ocamlfind ocamlopt -package "${PACKS}" -syntax camlp4o -c $<

%.pdf: %.tex
	pdflatex $*
	pdflatex $*

%.tex: %
	pandoc --toc --standalone $* -o $@

%.html: %
	pandoc --toc --standalone $* -f html -o $@

.PHONY: clean
clean:
	rm -f *.pdf *.html *.tex *.out *.cmx *.cmi switch
<commit_msg>Thomas has changed rpc-light to rpc<commit_after>
all: pdf html

pdf: broker.pdf
html: broker.html

INPUTS=README.md

broker.tex: $(INPUTS)
	pandoc --toc --standalone $(INPUTS) -o $@

broker.html: $(INPUTS)
	pandoc --toc --standalone $(INPUTS) -f html -o $@

PACKS=lwt,lwt.unix,lwt.syntax,cohttp,cohttp.lwt,xenstore,xenstore.server,xenstore.client,rpc,rpc.json,rpc.syntax

switch: xs_transport_unix.cmx switch.cmx
	ocamlfind ocamlopt -package "${PACKS}" -linkpkg -o switch xs_transport_unix.cmx switch.cmx

%.cmx: %.ml
	ocamlfind ocamlopt -package "${PACKS}" -syntax camlp4o -c $<

%.pdf: %.tex
	pdflatex $*
	pdflatex $*

%.tex: %
	pandoc --toc --standalone $* -o $@

%.html: %
	pandoc --toc --standalone $* -f html -o $@

.PHONY: clean
clean:
	rm -f *.pdf *.html *.tex *.out *.cmx *.cmi switch

{'fraction_non_alphanumeric': 0.17780580075662042, 'fraction_numerical': 0.0012610340479192938, 'mean_word_length': 3.695266272189349, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7508089', 'n_tokens_mistral': 717, 'n_tokens_neox': 675, 'n_words': 155}