<commit_before>#author: <NAME> <<EMAIL>>
#license: MIT

include common/make/flags.inc

FOLDERS= internal official presentations

PATH_ZIP= out/
RELEASE_NAME= release


all: $(FOLDERS)
	echo "All documents were built successfully"

zip: $(FOLDERS)
	mkdir $(PATH_ZIP)
	mkdir $(PATH_ZIP)Interni/
	mkdir $(PATH_ZIP)Esterni/
	set -e; \
	for i in $(wildcard official/*/*.pdf); do \
		pathFile=`dirname $$i`; \
		nameFile=`basename \`dirname $$i\``; \
		if [ "$$pathFile" == "official/NormeDiProgetto" ]; then \
			cp $$i $(PATH_ZIP)Interni/$$nameFile.pdf; \
		else \
			cp $$i $(PATH_ZIP)Esterni/$$nameFile.pdf; \
		fi; \
	done; \
	$(ZIP) $(ZIPFLAGS) $(RELEASE_NAME).zip $(PATH_ZIP)*

clean:
	rm -rf $(PATH_ZIP) $(RELEASE_NAME)*
	echo "pdf builds are automatically cleaned when another make is called"

$(FOLDERS):
	set -e; \
	for i in $(sort $(dir $(wildcard $@/*/))); do \
		echo ""; \
		echo ""; \<commit_msg>Zip now has a custom name<commit_after>#author: <NAME> <<EMAIL>>
#license: MIT

include common/make/flags.inc

FOLDERS= internal official presentations verbal

PATH_ZIP= RP
GROUP_NAME= BugBusters


all: $(FOLDERS)
	echo "All documents were built successfully"

zip:
	mkdir $(PATH_ZIP)/
	mkdir $(PATH_ZIP)/Interni/
	mkdir $(PATH_ZIP)/Esterni/
	set -e; \
	for i in $(wildcard official/*/*.pdf); do \
		pathFile=`dirname $$i`; \
		nameFile=`basename \`dirname $$i\``; \
		if [ "$$pathFile" == "official/NormeDiProgetto" ]; then \
			cp $$i $(PATH_ZIP)/Interni/$$nameFile.pdf; \
		else \
			cp $$i $(PATH_ZIP)/Esterni/$$nameFile.pdf; \
		fi; \
	done; \
	mkdir $(PATH_ZIP)/Interni/Verbali
	for i in $(wildcard verbal/*/*.pdf); do \
		pathFile=`dirname $$i`; \
		nameFile=`basename \`dirname $$i\``; \
		cp $$i $(PATH_ZIP)/Interni/Verbali/$$nameFile.pdf; \
	done; \
	$(ZIP) $(ZIPFLAGS) $(PATH_ZIP)-$(GROUP_NAME).zip $(PATH_ZIP)/*

clean:
	rm -rf $(PATH_ZIP)/ $(PATH_ZIP)-$(GROUP_NAME).zip
	echo "pdf builds are automatically cleaned when another make is called"

$(FOLDERS):
	set -e; \
	for i in $(sort $(dir $(wildcard $@/*/))); do \
		echo ""; \
		echo ""; \
{'fraction_non_alphanumeric': 0.19174757281553398, 'fraction_numerical': 0.0, 'mean_word_length': 3.7930232558139534, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2152324', 'n_tokens_mistral': 861, 'n_tokens_neox': 801, 'n_words': 200}