<commit_before>-include ../Makefile.inc

ASCIIDOC	:= asciidoc
A2X		:= a2x
XMLTO		:= xmlto

SRC		:= crtools.txt
SRC		:= Makefile.build.txt
MANS		:= $(patsubst %.txt,%.1,$(SRC))

all: $(MANS)

%.1: %.txt
	$(E) "  GEN     " $@
	$(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.1,%.xml,$@) $<
	$(Q) $(XMLTO) man --skip-validation $(patsubst %.1,%.xml,$@) 2>/dev/null

clean:
	$(E) "  CLEAN   "
	$(Q) rm -f ./*.xml
	$(Q) rm -f ./*.1
<commit_msg>make: docs -- Append manpages generation<commit_after>-include ../Makefile.inc

ASCIIDOC	:= asciidoc
A2X		:= a2x
XMLTO		:= xmlto

SRC		+= crtools.txt
SRC		+= Makefile.build.txt
MANS		:= $(patsubst %.txt,%.1,$(SRC))

all: $(MANS)

%.1: %.txt
	$(E) "  GEN     " $@
	$(Q) $(ASCIIDOC) -b docbook -d manpage -o $(patsubst %.1,%.xml,$@) $<
	$(Q) $(XMLTO) man --skip-validation $(patsubst %.1,%.xml,$@) 2>/dev/null

clean:
	$(E) "  CLEAN   "
	$(Q) rm -f ./*.xml
	$(Q) rm -f ./*.1

{'fraction_non_alphanumeric': 0.2600652883569097, 'fraction_numerical': 0.017410228509249184, 'mean_word_length': 2.8333333333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 8}, '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': '5733728', 'n_tokens_mistral': 465, 'n_tokens_neox': 444, 'n_words': 100}