<commit_before>MANUALS = Test-TUI.3 Test-TUI.html Test-TUI.pdf
MANUALS += Test-TUI-Inspect.3 Test-TUI-Inspect.html Test-TUI-Inspect.pdf
MANUALS += Test-TUI-VT102.3 Test-TUI-VT102.html Test-TUI-VT102.pdf

COMMONOPTIONS = --self-contained --number-sections --normalize --smart --toc

TEX_META = -V date='\today' --highlight-style=monochrome

MAIN_TEX_META = -V author="<NAME>"
MAIN_TEX_META += -V title="Test::TUI(3) Reference Manual"
MAIN_HTML_META = ${MAIN_TEX_META} --highlight-style=monochrome
MAIN_MAN_META = -V title="Test::TUI" -V section="3" -V date="Oct, 2012"

INSPECT_TEX_META = -V author="<NAME>"
INSPECT_TEX_META += -V title="Test::TUI::Inspect(3) Manual"
INSPECT_HTML_META = ${INSPECT_TEX_META} --highlight-style=monochrome
INSPECT_MAN_META = -V title="Test::TUI::Inspect" -V section="3"
INSPECT_MAN_META += -V date="Oct, 2012"

VT102_TEX_META = -V author="<NAME>"
VT102_TEX_META += -V title="Test::TUI::VT102(3) Manual"
VT102_HTML_META = ${VT102_TEX_META} --highlight-style=monochrome
VT102_MAN_META = -V title="Test::TUI::VT102" -V section="3"
VT102_MAN_META += -V date="Oct, 2012"

all: ${MANUALS}

Test-TUI.3: Test-TUI.mdwn Makefile
	pandoc -t man ${COMMONOPTIONS} ${MAIN_MAN_META} -o $@ $<
Test-TUI.pdf: Test-TUI.mdwn Makefile
	pandoc --template template.latex ${COMMONOPTIONS} ${TEX_META} ${MAIN_TEX_META} -o $@ $<
Test-TUI.html: Test-TUI.mdwn Makefile
	pandoc -t html5 ${COMMONOPTIONS} ${MAIN_HTML_META} -o $@ $<

Test-TUI-Inspect.3: Test-TUI-Inspect.mdwn Makefile
	pandoc -t man ${COMMONOPTIONS} ${INSPECT_MAN_META} -o $@ $<
Test-TUI-Inspect.pdf: Test-TUI-Inspect.mdwn Makefile
	pandoc --template template.latex ${COMMONOPTIONS} ${TEX_META} ${INSPECT_TEX_META} -o $@ $<
Test-TUI-Inspect.html: Test-TUI-Inspect.mdwn Makefile
	pandoc -t html5 ${COMMONOPTIONS} ${INSPECT_HTML_META} -o $@ $<

Test-TUI-VT102.3: Test-TUI-VT102.mdwn Makefile
	pandoc -t man ${COMMONOPTIONS} ${VT102_MAN_META} -o $@ $<
Test-TUI-VT102.pdf: Test-TUI-VT102.mdwn Makefile
	pandoc --template template.latex ${COMMONOPTIONS} ${TEX_META} ${VT102_TEX_META} -o $@ $<
Test-TUI-VT102.html: Test-TUI-VT102.mdwn Makefile
	pandoc -t html5 ${COMMONOPTIONS} ${VT102_HTML_META} -o $@ $<

clean:
	rm -f ${MANUALS} *~

.PHONY: all clean<commit_msg>Add support for "make man"<commit_after>MAN = Test-TUI.3 Test-TUI-Inspect.3 Test-TUI-VT102.3
MANUALS = ${MAN} Test-TUI.html Test-TUI.pdf
MANUALS += Test-TUI-Inspect.html Test-TUI-Inspect.pdf
MANUALS += Test-TUI-VT102.html Test-TUI-VT102.pdf

COMMONOPTIONS = --self-contained --number-sections --normalize --smart --toc

TEX_META = -V date='\today' --highlight-style=monochrome

MAIN_TEX_META = -V author="<NAME>"
MAIN_TEX_META += -V title="Test::TUI(3) Reference Manual"
MAIN_HTML_META = ${MAIN_TEX_META} --highlight-style=monochrome
MAIN_MAN_META = -V title="Test::TUI" -V section="3" -V date="Oct, 2012"

INSPECT_TEX_META = -V author="<NAME>"
INSPECT_TEX_META += -V title="Test::TUI::Inspect(3) Manual"
INSPECT_HTML_META = ${INSPECT_TEX_META} --highlight-style=monochrome
INSPECT_MAN_META = -V title="Test::TUI::Inspect" -V section="3"
INSPECT_MAN_META += -V date="Oct, 2012"

VT102_TEX_META = -V author="<NAME>"
VT102_TEX_META += -V title="Test::TUI::VT102(3) Manual"
VT102_HTML_META = ${VT102_TEX_META} --highlight-style=monochrome
VT102_MAN_META = -V title="Test::TUI::VT102" -V section="3"
VT102_MAN_META += -V date="Oct, 2012"

all: ${MANUALS}
man: ${MAN}

Test-TUI.3: Test-TUI.mdwn Makefile
	pandoc -t man ${COMMONOPTIONS} ${MAIN_MAN_META} -o $@ $<
Test-TUI.pdf: Test-TUI.mdwn Makefile
	pandoc --template template.latex ${COMMONOPTIONS} ${TEX_META} ${MAIN_TEX_META} -o $@ $<
Test-TUI.html: Test-TUI.mdwn Makefile
	pandoc -t html5 ${COMMONOPTIONS} ${MAIN_HTML_META} -o $@ $<

Test-TUI-Inspect.3: Test-TUI-Inspect.mdwn Makefile
	pandoc -t man ${COMMONOPTIONS} ${INSPECT_MAN_META} -o $@ $<
Test-TUI-Inspect.pdf: Test-TUI-Inspect.mdwn Makefile
	pandoc --template template.latex ${COMMONOPTIONS} ${TEX_META} ${INSPECT_TEX_META} -o $@ $<
Test-TUI-Inspect.html: Test-TUI-Inspect.mdwn Makefile
	pandoc -t html5 ${COMMONOPTIONS} ${INSPECT_HTML_META} -o $@ $<

Test-TUI-VT102.3: Test-TUI-VT102.mdwn Makefile
	pandoc -t man ${COMMONOPTIONS} ${VT102_MAN_META} -o $@ $<
Test-TUI-VT102.pdf: Test-TUI-VT102.mdwn Makefile
	pandoc --template template.latex ${COMMONOPTIONS} ${TEX_META} ${VT102_TEX_META} -o $@ $<
Test-TUI-VT102.html: Test-TUI-VT102.mdwn Makefile
	pandoc -t html5 ${COMMONOPTIONS} ${VT102_HTML_META} -o $@ $<

clean:
	rm -f ${MANUALS} *~

.PHONY: all man clean
{'fraction_non_alphanumeric': 0.17275155832591274, 'fraction_numerical': 0.03873552983081033, 'mean_word_length': 4.998664886515354, 'pattern_counts': {'":': 0, '<': 27, '<?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': '1114425', 'n_tokens_mistral': 2114, 'n_tokens_neox': 1953, 'n_words': 352}