<commit_before>#
# Makefile --Build rules for the make directory of devkit.
#
# Contents:
#
# Remarks:
# The "toc" target cannot be run until things have been installed in DEV_HOME.
#
STD_TRG = build install test uninstall install-strip \
	clean distclean tags dist doc coverage
DEVKIT_TRG = src toc tidy todo

MK_SRC = build.mk coverage.mk database.mk deb.mk deploy.mk devkit.mk \
    doxygen.mk googletest.mk ld.mk library.mk package.mk \
    repository.mk tap.mk valid.mk

include devkit.mk

$(includedir)/%:	%;		$(INSTALL_FILE) $< $@
install:		$(MK_SRC:%.mk=$(includedir)/%.mk)
install:		$(includedir)/targets.mk

mk-src: rm-targets.mk
rm-targets.mk:		;		@$(RM) targets.mk
#
# tarkets.mk:	--Build the standard auto-recursive targets file.
#
# Remarks:
# The auto-recursive rule pattern is a bit tedious to write by hand,
# so I've written a make target to generate them automatically. Even so,
# it's incredibly dense; it might be better as a separate script?
#
targets.mk:
	@$(ECHO) "++ make[$@]"
	@printf "#\n# $@ --auto-recursive targets, generated %s\n#\n" "$$(date '+%c')" > $@
	@for t in $(STD_TRG) $(DEVKIT_TRG); do \
	    printf "\n#\n# $$t: --auto-recursive target\n#\n"; \
	    printf ".PHONY:\t$$t pre-$$t\n"; \
	    printf "$$t:\t\$$(SUBDIRS:%%=$$t@%%); \$$(ECHO_TARGET)\n"; \
	    printf "pre-$$t:\t;\t\$$(ECHO_TARGET)\n"; \
	    printf "$$t \$$(SUBDIRS:%%=$$t@%%):\tpre-$$t\n"; \
	    printf "$$t@%%:\n\t@\$$(ECHO_TARGET)\n\t@if [ -e \$$*/Makefile ]; then \$$(ECHO) ++ make: recursively building \$$@; cd \$$* >/dev/null && \$$(MAKE) $$t; fi\n"; \
	done >> $@
<commit_msg>updated file lists in makefile<commit_after>#
# Makefile --Build rules for the make directory of devkit.
#
# Contents:
#
# Remarks:
# The "toc" target cannot be run until things have been installed in DEV_HOME.
#
STD_TRG = build install test uninstall install-strip \
	clean distclean tags dist doc coverage
DEVKIT_TRG = src toc tidy todo

MK_SRC = coverage.mk deb.mk deploy.mk devkit.mk doxygen.mk \
    googletest.mk ld.mk library.mk package.mk repository.mk \
    tap.mk valid.mk

include devkit.mk

$(includedir)/%:	%;		$(INSTALL_FILE) $< $@
install:		$(MK_SRC:%.mk=$(includedir)/%.mk)
install:		$(includedir)/targets.mk

mk-src: rm-targets.mk
rm-targets.mk:		;		@$(RM) targets.mk
#
# tarkets.mk:	--Build the standard auto-recursive targets file.
#
# Remarks:
# The auto-recursive rule pattern is a bit tedious to write by hand,
# so I've written a make target to generate them automatically. Even so,
# it's incredibly dense; it might be better as a separate script?
#
targets.mk:
	@$(ECHO) "++ make[$@]"
	@printf "#\n# $@ --auto-recursive targets, generated %s\n#\n" "$$(date '+%c')" > $@
	@for t in $(STD_TRG) $(DEVKIT_TRG); do \
	    printf "\n#\n# $$t: --auto-recursive target\n#\n"; \
	    printf ".PHONY:\t$$t pre-$$t\n"; \
	    printf "$$t:\t\$$(SUBDIRS:%%=$$t@%%); \$$(ECHO_TARGET)\n"; \
	    printf "pre-$$t:\t;\t\$$(ECHO_TARGET)\n"; \
	    printf "$$t \$$(SUBDIRS:%%=$$t@%%):\tpre-$$t\n"; \
	    printf "$$t@%%:\n\t@\$$(ECHO_TARGET)\n\t@if [ -e \$$*/Makefile ]; then \$$(ECHO) ++ make: recursively building \$$@; cd \$$* >/dev/null && \$$(MAKE) $$t; fi\n"; \
	done >> $@

{'fraction_non_alphanumeric': 0.20780856423173805, 'fraction_numerical': 0.0, 'mean_word_length': 3.5063829787234044, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '292379', 'n_tokens_mistral': 1306, 'n_tokens_neox': 1219, 'n_words': 326}