<commit_before>################################################################################
# Additional makefile targets
################################################################################

# include project-specific variables
include ../.myriad-settings

# the path to the myriad assistant binary
MYRIAD_ASSISTANT = ../vendor/myriad/bin/assistant

# include the following files in the package
# ./config/*.properties   -- properties config files
# ./config/*.domain       -- attribute domain enumerations
# ./config/*.distribution -- attribute domain distributions
CONFIG_DIRS      = $(shell cd ../src && find config -type d | grep -v '\.svn')
CONFIG_FILES     = $(shell cd ../src && ls config/*.properties)
CONFIG_FILES    += $(shell cd ../src && ls config/*.distribution)
CONFIG_FILES    += $(shell cd ../src && ls config/*.domain)
CONFIG_FILES    += $(shell cd ../vendor/myriad/src && ls config/*xsd)
CONFIG_FILES    += config/$(MYRIAD_DGEN_NAME)-frontend.template.xml

# script files
SCRIPT_FILES     = bin/$(MYRIAD_DGEN_NAME)-frontend
SCRIPT_FILES    += bin/$(MYRIAD_DGEN_NAME)-kill

# python files & dirs
PYTHON_DIRS      = $(shell cd ../vendor/myriad/src/python && find -mindepth 1 -type d | grep -v '\.svn' | sed 's/^.\//lib\/python\/vendor\//')
PYTHON_FILES     = $(shell cd ../vendor/myriad/src/python && find -type f | grep -v '\.svn' | sed 's/^.\//lib\/python\/vendor\//')

# All Target
all: work-dirs script-files config-files lib-misc lib-poco CHANGELOG LICENSE NOTICE bin/$(MYRIAD_DGEN_NAME)-node

cleanall: clean
	rm -Rf bin
	rm -Rf config
	rm -Rf lib
	rm -Rf CHANGELOG LICENSE NOTICE README.md

install: 
	mkdir -p $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp -Rf ./bin $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp -Rf ./config $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp -Rf ./lib $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp CHANGELOG $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp LICENSE $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp NOTICE $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp README.md $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)

work-dirs: 
	@echo 'Creating directory hierarchy'
	mkdir -p bin
	mkdir -p config
	mkdir -p lib
	mkdir -p lib/c++
	mkdir -p lib/python
	mkdir -p lib/query
	for dir in ${CONFIG_DIRS}; do \
		mkdir -p src/$$dir; \
	done
	for dir in ${PYTHON_DIRS}; do \
		mkdir -p $$dir $$dir; \
	done
	@echo ' '
	
config-files: $(CONFIG_FILES)
	@echo ' '

lib-misc: $(PYTHON_FILES) 
	@echo ' '
	
script-files: $(SCRIPT_FILES)<commit_msg>Fixed a bug in the tools/skeleton/task/initialize/project/makefile.targets<commit_after>################################################################################
# Additional makefile targets
################################################################################

# include project-specific variables
include ../.myriad-settings

# the path to the myriad assistant binary
MYRIAD_ASSISTANT = ../vendor/myriad/bin/assistant

# include the following files in the package
# ./config/*.properties   -- properties config files
# ./config/*.domain       -- attribute domain enumerations
# ./config/*.distribution -- attribute domain distributions
CONFIG_DIRS      = $(shell cd ../src && find config -type d | grep -v '\.svn')
CONFIG_FILES     = $(shell cd ../src && find config -type f -name "*.properties")
CONFIG_FILES    += $(shell cd ../src && find config -type f -name "*.distribution")
CONFIG_FILES    += $(shell cd ../src && find config -type f -name "*.domain")
CONFIG_FILES    += $(shell cd ../vendor/myriad/src && ls config/*xsd)
CONFIG_FILES    += config/$(MYRIAD_DGEN_NAME)-frontend.template.xml

# script files
SCRIPT_FILES     = bin/$(MYRIAD_DGEN_NAME)-frontend
SCRIPT_FILES    += bin/$(MYRIAD_DGEN_NAME)-kill

# python files & dirs
PYTHON_DIRS      = $(shell cd ../vendor/myriad/src/python && find -mindepth 1 -type d | grep -v '\.svn' | sed 's/^.\//lib\/python\/vendor\//')
PYTHON_FILES     = $(shell cd ../vendor/myriad/src/python && find -type f | grep -v '\.svn' | sed 's/^.\//lib\/python\/vendor\//')

# All Target
all: work-dirs script-files config-files lib-misc lib-poco CHANGELOG LICENSE NOTICE bin/$(MYRIAD_DGEN_NAME)-node

cleanall: clean
	rm -Rf bin
	rm -Rf config
	rm -Rf lib
	rm -Rf CHANGELOG LICENSE NOTICE README.md

install: 
	mkdir -p $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp -Rf ./bin $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp -Rf ./config $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp -Rf ./lib $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp CHANGELOG $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp LICENSE $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp NOTICE $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)
	cp README.md $(MYRIAD_INSTALL_DIR)/$(MYRIAD_DGEN_NAME)

work-dirs: 
	@echo 'Creating directory hierarchy'
	mkdir -p bin
	mkdir -p config
	mkdir -p lib
	mkdir -p lib/c++
	mkdir -p lib/python
	mkdir -p lib/query
	for dir in ${CONFIG_DIRS}; do \
		mkdir -p $$dir; \
	done
	for dir in ${PYTHON_DIRS}; do \
		mkdir -p $$dir; \
	done
	@echo ' '
	
config-files: $(CONFIG_FILES)
	@echo ' '

lib-misc: $(PYTHON_FILES) 
	@echo ' '
	
script-files: $(SCRIPT_FILES)
{'fraction_non_alphanumeric': 0.20473673908788412, 'fraction_numerical': 0.00039146604032100216, 'mean_word_length': 3.816211121583412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5709486', 'n_tokens_mistral': 1895, 'n_tokens_neox': 1755, 'n_words': 449}