<commit_before># Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Makefile for building j2objc.  It's purpose is as a subproject in an Xcode
# project.
#
# Author: <NAME>

.PHONY: translator jre_emul dist test

J2OBJC_ROOT = .

include make/common.mk

MAN_DIR = doc/man
MAN_PAGES = $(MAN_DIR)/j2objc.1 $(MAN_DIR)/j2objcc.1

J2OBJC = $(DIST_DIR)/j2objc

default: dist

$(J2OBJC): scripts/j2objc.sh
	@install -C $< $@

install-scripts: $(J2OBJC)
	@:

install-man-pages: $(MAN_PAGES)
	@mkdir -p $(DIST_DIR)/man/man1
	@install -C -m 0644 $? $(DIST_DIR)/man/man1

annotations_dist:
	@cd annotations && $(MAKE) dist

java_deps_dist:
	@cd java_deps && $(MAKE) dist

translator_dist: translator jre_emul_jar_dist install-scripts

translator: annotations_dist java_deps_dist
	@cd translator && $(MAKE) dist

jre_emul_jar_dist: annotations_dist
	@cd jre_emul && $(MAKE) emul_jar_dist

jre_emul_dist: translator_dist jre_emul

jre_emul:
	@cd jre_emul && $(MAKE) dist

junit_dist: translator_dist jre_emul_dist
	@cd junit && $(MAKE) dist


cycle_finder_dist: annotations_dist java_deps_dist
	@cd cycle_finder && $(MAKE) dist

dist: translator_dist jre_emul_dist junit_dist cycle_finder_dist install-man-pages


clean:
	@rm -rf $(DIST_DIR)
	@cd annotations && $(MAKE) clean
	@cd java_deps && $(MAKE) clean
	@cd translator && $(MAKE) clean
	@cd jre_emul && $(MAKE) clean
	@cd junit && $(MAKE) clean
	@cd cycle_finder && $(MAKE) clean

test_translator: annotations_dist java_deps_dist
	@cd translator && $(MAKE) test

test: test_translator
	@cd jre_emul && $(MAKE) -f tests.mk
	@cd jre_emul && $(MAKE) find_cycles
	@cd cycle_finder && $(MAKE) test
<commit_msg>Fix the cycle_finder_dist target. 	Change on 2013/08/20 by kstanger <<EMAIL>> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=51123937<commit_after># Copyright 2011 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Makefile for building j2objc.  It's purpose is as a subproject in an Xcode
# project.
#
# Author: <NAME>

.PHONY: translator jre_emul dist test

J2OBJC_ROOT = .

include make/common.mk

MAN_DIR = doc/man
MAN_PAGES = $(MAN_DIR)/j2objc.1 $(MAN_DIR)/j2objcc.1

J2OBJC = $(DIST_DIR)/j2objc

default: dist

$(J2OBJC): scripts/j2objc.sh
	@install -C $< $@

install-scripts: $(J2OBJC)
	@:

install-man-pages: $(MAN_PAGES)
	@mkdir -p $(DIST_DIR)/man/man1
	@install -C -m 0644 $? $(DIST_DIR)/man/man1

annotations_dist:
	@cd annotations && $(MAKE) dist

java_deps_dist:
	@cd java_deps && $(MAKE) dist

translator_dist: translator jre_emul_jar_dist install-scripts

translator: annotations_dist java_deps_dist
	@cd translator && $(MAKE) dist

jre_emul_jar_dist: annotations_dist
	@cd jre_emul && $(MAKE) emul_jar_dist

jre_emul_dist: translator_dist jre_emul

jre_emul:
	@cd jre_emul && $(MAKE) dist

junit_dist: translator_dist jre_emul_dist
	@cd junit && $(MAKE) dist


cycle_finder_dist: annotations_dist java_deps_dist translator_dist
	@cd cycle_finder && $(MAKE) dist

dist: translator_dist jre_emul_dist junit_dist cycle_finder_dist install-man-pages


clean:
	@rm -rf $(DIST_DIR)
	@cd annotations && $(MAKE) clean
	@cd java_deps && $(MAKE) clean
	@cd translator && $(MAKE) clean
	@cd jre_emul && $(MAKE) clean
	@cd junit && $(MAKE) clean
	@cd cycle_finder && $(MAKE) clean

test_translator: annotations_dist java_deps_dist
	@cd translator && $(MAKE) test

test: test_translator
	@cd jre_emul && $(MAKE) -f tests.mk
	@cd jre_emul && $(MAKE) find_cycles
	@cd cycle_finder && $(MAKE) test

{'fraction_non_alphanumeric': 0.11384615384615385, 'fraction_numerical': 0.014505494505494506, 'mean_word_length': 4.753476611883691, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7667865', 'n_tokens_mistral': 1733, 'n_tokens_neox': 1610, 'n_words': 495}