<commit_before>include ../Makefile.config
include $(PIQI_ROOT)/make/Makefile.dirs


# Are Protocol Buffers tools installed? Assuming here that the C++ .so libraries
# are installed as well.
ifneq ($(shell which protoc), )
DIRS_PROTO = \
       piqi_proto \
       piqi_proto1 \
       piqi_packed \
       boot_proto2piqi \
       cpp
endif


DIRS_OCAML = \
       ocaml_addressbook \
       ocaml_piqi \
       ocaml_perf \
       ocaml_packed \
       ocaml_array \
       ocaml_misc \
       ocaml_custom_types \
       ocaml_piq_config \
       ocaml_riak_pb \


DIRS = \
       examples \
       self_spec \
       piqi_misc \
       piqi_server \
       piqi_compile \
       piqi_pp \
       $(DIRS_OCAML) \
       $(DIRS_PROTO)


.PHONY: ocaml ocaml-clean proto proto-clean


proto:
	set -e; \
	for i in $(DIRS_PROTO); do \
		$(MAKE) -C $$i; \
	done


proto-clean:
	for i in $(DIRS_PROTO); do \
		$(MAKE) -C $$i clean; \<commit_msg>Fix "make -C tests" when protoc is not available<commit_after>include ../Makefile.config
include $(PIQI_ROOT)/make/Makefile.dirs


# Are Protocol Buffers tools installed? Assuming here that the C++ .so libraries
# are installed as well.
ifneq ($(shell which protoc), )
DIRS_PROTO = \
       piqi_proto \
       piqi_proto1 \
       piqi_packed \
       boot_proto2piqi \
       cpp \
       ocaml_riak_pb \

endif


DIRS_OCAML = \
       ocaml_addressbook \
       ocaml_piqi \
       ocaml_perf \
       ocaml_packed \
       ocaml_array \
       ocaml_misc \
       ocaml_custom_types \
       ocaml_piq_config \


DIRS = \
       examples \
       self_spec \
       piqi_misc \
       piqi_server \
       piqi_compile \
       piqi_pp \
       $(DIRS_OCAML) \
       $(DIRS_PROTO)


.PHONY: ocaml ocaml-clean proto proto-clean


proto:
	set -e; \
	for i in $(DIRS_PROTO); do \
		$(MAKE) -C $$i; \
	done


proto-clean:
	for i in $(DIRS_PROTO); do \
		$(MAKE) -C $$i clean; \
{'fraction_non_alphanumeric': 0.10010427528675704, 'fraction_numerical': 0.0020855057351407717, 'mean_word_length': 1.8684603886397608, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7007852', 'n_tokens_mistral': 769, 'n_tokens_neox': 693, 'n_words': 162}