<commit_before>#
# installation makefile
#
#
# Places you can add for installation:
#
# TO_INSTALL.ROOT : files will be added in the $(INSTALL_DIR)/ dir itself.
# TO_INSTALL.EXE  : files will be put in bin/
# TO_INSTALL.DATA : files will be put in data/
# TO_INSTALL.CONFIG: files will be put in data/config/
# TO_INSTALL.STATIC_LIBS: files will be put in lib/
# TO_INSTALL.DYNAMIC_LIBS: files could be put in lib/, but could also end
#                     up in a platform specific location (e.g. System folder).
# TO_INSTALL.INCLUDE does not exist, the entire include/ hierarchy is copied
#                   to include/. (max 3 levels deep now)

.PHONY: install_config install_data install_dynamiclibs install_staticlibs \
  install_exe install_include install_root install_logfile install_docs

INSTALL_LOG=$(INSTALL_DIR)/install.log

# the $(INSTALL_DIR)/include dir is done later
$(INSTALL_DIR) $(INSTALL_DIR)/data $(INSTALL_DIR)/bin $(INSTALL_DIR)/lib \
$(INSTALL_DIR)/docs $(INSTALL_DIR)/data/config:
	$(MKDIR)

# list the install.log in the install.log to be deleted.
install_logfile:
	@echo $(INSTALL_LOG) >> $(INSTALL_LOG)

install_config: $(INSTALL_DIR)/data/config
	$(CP) $(TO_INSTALL.CONFIG) $(INSTALL_DIR)/data/config
	@echo $(addprefix $(INSTALL_DIR)/data/config/, \
	  $(notdir $(TO_INSTALL.CONFIG))) >> $(INSTALL_LOG)

install_data: $(INSTALL_DIR)/data<commit_msg>fix double docs/ dir rule.<commit_after>#
# installation makefile
#
#
# Places you can add for installation:
#
# TO_INSTALL.ROOT : files will be added in the $(INSTALL_DIR)/ dir itself.
# TO_INSTALL.EXE  : files will be put in bin/
# TO_INSTALL.DATA : files will be put in data/
# TO_INSTALL.CONFIG: files will be put in data/config/
# TO_INSTALL.STATIC_LIBS: files will be put in lib/
# TO_INSTALL.DYNAMIC_LIBS: files could be put in lib/, but could also end
#                     up in a platform specific location (e.g. System folder).
# TO_INSTALL.INCLUDE does not exist, the entire include/ hierarchy is copied
#                   to include/. (max 3 levels deep now)

.PHONY: install_config install_data install_dynamiclibs install_staticlibs \
  install_exe install_include install_root install_logfile install_docs

INSTALL_LOG=$(INSTALL_DIR)/install.log

# the $(INSTALL_DIR)/include dir is done later
$(INSTALL_DIR) $(INSTALL_DIR)/data $(INSTALL_DIR)/bin $(INSTALL_DIR)/lib \
$(INSTALL_DIR)/data/config:
	$(MKDIR)

# list the install.log in the install.log to be deleted.
install_logfile:
	@echo $(INSTALL_LOG) >> $(INSTALL_LOG)

install_config: $(INSTALL_DIR)/data/config
	$(CP) $(TO_INSTALL.CONFIG) $(INSTALL_DIR)/data/config
	@echo $(addprefix $(INSTALL_DIR)/data/config/, \
	  $(notdir $(TO_INSTALL.CONFIG))) >> $(INSTALL_LOG)

install_data: $(INSTALL_DIR)/data
{'fraction_non_alphanumeric': 0.11461733768589046, 'fraction_numerical': 0.0007254261878853826, 'mean_word_length': 4.293666026871401, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1821394', 'n_tokens_mistral': 924, 'n_tokens_neox': 845, 'n_words': 270}