<commit_before># Variables
TEX  = latex
PS   = dvips
PDFLATEX  = pdflatex
MAIN = izpack-doc
HTML = latex2html
SUBDIRS = img

# Default target - makes it all
all: subdirs dvi pdf html

# Makes the dvi
.PHONY:	dvi
dvi: ${MAIN}.tex
	${TEX} ${MAIN}.tex
	${TEX} ${MAIN}.tex
	# three times to get references right
	${TEX} ${MAIN}.tex

# Makes the PostScript(tm) version
.PHONY:	ps
ps: dvi
	[ -d ps ] || mkdir ps
	${PS} ${MAIN}.dvi -o ps/${MAIN}.ps

# Makes the PDF(tm) version
.PHONY:	pdf
pdf:
	[ -d pdf ] || mkdir pdf
	${PDFLATEX} ${MAIN}
	${PDFLATEX} ${MAIN}
	${PDFLATEX} ${MAIN} && mv ${MAIN}.pdf pdf/

# Makes the HTML version
.PHONY: html
html:
	[ -d html ] || mkdir html
	${HTML} -split 3 -noexternal_images -dir html -white -image_type png -local_icons ${MAIN}.tex

.PHONY: subdirs
subdirs:
	for d in $(SUBDIRS) ; do \
		make -C $$d $(MAKECMDGOALS) ; \
	done

# Cleanup
.PHONY: clean
clean:	subdirs
	rm -f *.dvi *.aux *.log *.toc *.out *~
	rm -rf pdf
	rm -rf ps
	rm -rf html
	
# Uninstall
.PHONY: uninstall
uninstall:<commit_msg>use built in MAKE variable for recursion<commit_after># Variables
TEX  = latex
PS   = dvips
PDFLATEX  = pdflatex
MAIN = izpack-doc
HTML = latex2html
SUBDIRS = img

# Default target - makes it all
all: subdirs dvi pdf html

# Makes the dvi
.PHONY:	dvi
dvi: ${MAIN}.tex
	${TEX} ${MAIN}.tex
	${TEX} ${MAIN}.tex
	# three times to get references right
	${TEX} ${MAIN}.tex

# Makes the PostScript(tm) version
.PHONY:	ps
ps: dvi
	[ -d ps ] || mkdir ps
	${PS} ${MAIN}.dvi -o ps/${MAIN}.ps

# Makes the PDF(tm) version
.PHONY:	pdf
pdf:
	[ -d pdf ] || mkdir pdf
	${PDFLATEX} ${MAIN}
	${PDFLATEX} ${MAIN}
	${PDFLATEX} ${MAIN} && mv ${MAIN}.pdf pdf/

# Makes the HTML version
.PHONY: html
html:
	[ -d html ] || mkdir html
	${HTML} -split 3 -noexternal_images -dir html -white -image_type png -local_icons ${MAIN}.tex

.PHONY: subdirs
subdirs:
	for d in $(SUBDIRS) ; do \
		${MAKE} -C $$d $(MAKECMDGOALS) ; \
	done

# Cleanup
.PHONY: clean
clean:	subdirs
	rm -f *.dvi *.aux *.log *.toc *.out *~
	rm -rf pdf
	rm -rf ps
	rm -rf html

# Uninstall
.PHONY: uninstall
uninstall:
{'fraction_non_alphanumeric': 0.16036381043561512, 'fraction_numerical': 0.0019147917663954045, 'mean_word_length': 3.2653061224489797, 'pattern_counts': {'":': 0, '<': 3, '<?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': '2308511', 'n_tokens_mistral': 923, 'n_tokens_neox': 888, 'n_words': 283}