<commit_before>SRCS:=$(wildcard *.tex)
QRS :=$(wildcard qr/*)
PICS:=$(wildcard pic/*)
DOTS:=$(wildcard dot/*)
SVGS:=$(wildcard svg/*)
DIAS:=$(wildcard dia/*)
GPLS:=$(wildcard gnuplot/*)
HDRS:=$(wildcard cpp/*)

TEXFLAGS:=-file-line-error -halt-on-error

MAIN:=main
DVI :=$(MAIN).dvi
PDF :=$(MAIN).pdf

.PHONY: all
#all: REM=@true
all: pdf script

.PHONY: pdf
pdf: $(PDF)

$(PDF): $(SRCS) $(QRS) $(PICS) $(DOTS) $(SVGS) $(DIAS) $(GPLS) $(HDRS) Makefile | cpp qr dot svg dia gnuplot
	pdflatex $(TEXFLAGS) $(MAIN) < /dev/null || ( echo ; rm -fv $(PDF) ; exit 1 )
	$(REM) pdflatex $(TEXFLAGS) $(MAIN) < /dev/null
	$(REM) pdflatex $(TEXFLAGS) $(MAIN) < /dev/null

.PHONY: fast
fast: REM:=true
fast: pdf

.PHONY: cpp qr dot svg dia gnuplot
cpp qr dot svg dia gnuplot:
	+$(MAKE) -C "$@"

.PHONY: script
script: script.log
script.log: $(SRCS)
	grep -e '% NOTE: ' -e 'slide{' slides.tex $$(cat slides.tex | grep input | sed 's:.*{\(.*\)}:\1:') > "$@"


.PHONY: clean
clean:
	+$(MAKE) -C cpp clean
	+$(MAKE) -C qr  clean
	+$(MAKE) -C dot clean
	+$(MAKE) -C svg clean
	+$(MAKE) -C dia clean
	+$(MAKE) -C gnuplot clean
	rm -fv *.dvi *.pdf *.aux *bak *.log *.lof *.lot *.toc *.bbl *.blg *.nav *.out *.snm *.vrb<commit_msg>added missing sclint.log to Makefile dependency and added subSlides to script.log<commit_after>SRCS:=$(wildcard *.tex)
QRS :=$(wildcard qr/*)
PICS:=$(wildcard pic/*)
DOTS:=$(wildcard dot/*)
SVGS:=$(wildcard svg/*)
DIAS:=$(wildcard dia/*)
GPLS:=$(wildcard gnuplot/*)
HDRS:=$(wildcard cpp/*)

TEXFLAGS:=-file-line-error -halt-on-error

MAIN:=main
DVI :=$(MAIN).dvi
PDF :=$(MAIN).pdf

.PHONY: all
#all: REM=@true
all: pdf script

.PHONY: pdf
pdf: $(PDF)

$(PDF): $(SRCS) $(QRS) $(PICS) $(DOTS) $(SVGS) $(DIAS) $(GPLS) $(HDRS) Makefile | cpp qr dot svg dia gnuplot
	pdflatex $(TEXFLAGS) $(MAIN) < /dev/null || ( echo ; rm -fv $(PDF) ; exit 1 )
	$(REM) pdflatex $(TEXFLAGS) $(MAIN) < /dev/null
	$(REM) pdflatex $(TEXFLAGS) $(MAIN) < /dev/null

.PHONY: fast
fast: REM:=true
fast: pdf

.PHONY: cpp qr dot svg dia gnuplot
cpp qr dot svg dia gnuplot:
	+$(MAKE) -C "$@"

.PHONY: script
script: script.log
script.log: $(SRCS) Makefile
	grep -e '% NOTE: ' -e 'slide{' -e 'subSlide{' slides.tex $$(cat slides.tex | grep input | sed 's:.*{\(.*\)}:\1:') > "$@"


.PHONY: clean
clean:
	+$(MAKE) -C cpp clean
	+$(MAKE) -C qr  clean
	+$(MAKE) -C dot clean
	+$(MAKE) -C svg clean
	+$(MAKE) -C dia clean
	+$(MAKE) -C gnuplot clean
	rm -fv *.dvi *.pdf *.aux *bak *.log *.lof *.lot *.toc *.bbl *.blg *.nav *.out *.snm *.vrb
{'fraction_non_alphanumeric': 0.2350597609561753, 'fraction_numerical': 0.0015936254980079682, 'mean_word_length': 3.81957773512476, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '1098351', 'n_tokens_mistral': 1193, 'n_tokens_neox': 1108, 'n_words': 318}