<commit_before>.DELETE_ON_ERROR:

export SHELL:=/bin/bash

NODE:=$(or $(shell which node), /usr/bin/node)
NPM:=$(or $(shell which npm), /usr/bin/npm)
MARKDOWN:=$(or $(shell which markdown), /usr/bin/markdown)

POST_FILES:=$(shell find posts/ -name "*.md")

.PHONY: build
build:  www/blog/2016-03-27-hello-world.html

www/blog/%.html:posts/%.md
	$(MARKDOWN) $@ @^

clean:
	rm -rf www/<commit_msg>Another attempt to get the Makefile working<commit_after>.DELETE_ON_ERROR:

export SHELL:=/bin/bash

NODE:=$(or $(shell which node), /usr/bin/node)
NPM:=$(or $(shell which npm), /usr/bin/npm)
MARKDOWN:=$(or $(shell which markdown))

POST_FILES:=$(shell find posts/ -name "*.md")

www/blog/%.html:posts/%.md
	echo "$@ @^"

build:
	$(patsubst posts/%.md, www/blog/%.html, $(POST_FILES))

clean:
	rm -rf www/

{'fraction_non_alphanumeric': 0.21098626716604243, 'fraction_numerical': 0.009987515605493134, 'mean_word_length': 4.418918918918919, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '543016', 'n_tokens_mistral': 335, 'n_tokens_neox': 313, 'n_words': 71}