<commit_before>GPLS:=$(wildcard *.gpl)
SVGS:=$(GPLS:.gpl=.svg)
PNGS:=$(SVGS:.svg=.png)

DPI:=300

# keep SVGs as well - vector images can still be usefull at later stages
.SECONDARY:

.PHONY: all
all: $(PNGS)

%.svg: %.gpl Makefile
	gnuplot "$<" > "$@"

%.png: %.svg Makefile
	convert -units PixelsPerInch -density "$(DPI)" "$<" "$@"

.PHONY: clean
clean:
	rm -fv $(PNGS) $(SVGS)<commit_msg>SVG files now depend on *.dat files (all of them, since there is no easy way to tell which are needed where)<commit_after>GPLS:=$(wildcard *.gpl)
SVGS:=$(GPLS:.gpl=.svg)
PNGS:=$(SVGS:.svg=.png)
DATS:=$(wildcard *.dat)

DPI:=300

# keep SVGs as well - vector images can still be usefull at later stages
.SECONDARY:

.PHONY: all
all: $(PNGS)

%.svg: %.gpl $(DATS) Makefile
	gnuplot "$<" > "$@"

%.png: %.svg Makefile
	convert -units PixelsPerInch -density "$(DPI)" "$<" "$@"

.PHONY: clean
clean:
	rm -fv $(PNGS) $(SVGS)
{'fraction_non_alphanumeric': 0.20132013201320131, 'fraction_numerical': 0.006600660066006601, 'mean_word_length': 4.2601156069364166, 'pattern_counts': {'":': 0, '<': 7, '<?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': '3660370', 'n_tokens_mistral': 398, 'n_tokens_neox': 368, 'n_words': 107}