<commit_before># Makefile debugging hack: uncomment the two lines below and make will tell you
# more about what is happening.  The output generated is of the form
# "FILE:LINE [TARGET (DEPENDENCIES) (NEWER)]" where DEPENDENCIES are all the
# things TARGET depends on and NEWER are all the files that are newer than
# TARGET.  DEPENDENCIES will be colored green and NEWER will be blue.
#
#OLD_SHELL := $(SHELL)
#SHELL = $(warning [$@ [32m($^) [34m($?)[m ])$(OLD_SHELL)

# Build a target for JavaScript files.  The find command exclused directories
# as needed through the -prune directive, and the grep command removes
# individual unwanted JavaScript and JSON files from the list.
JSFILES=$(shell find . -wholename './node_modules*' -prune \
	-o -wholename './build*' -prune \
	-o -wholename './test/assets*' -prune \
	-o \( \
    		-name '*.js' \
    		-o -name '*.json' \
    		-o -name '*generateTemplates' \
  	\) -print \
  	| sort | sed -e 's/^\.\///' \
	| grep -Ev -e '^manifest\.json$$' \
		-e '^app/assets/javascripts/reconnecting-websocket.js$$' \
		-e '^server.js$$')
THIRD_PARTY_JS=app/assets/javascripts/reconnecting-websocket.js
NODE_TARGETS=node_modules/chai node_modules/cryptojs node_modules/d3 \
	node_modules/expect.js node_modules/express node_modules/graceful-fs \
	node_modules/grunt node_modules/jshint node_modules/less \
	node_modules/minimatch node_modules/mocha node_modules/node-markdown \
	node_modules/node-minify node_modules/node-spritesheet \
	node_modules/rimraf node_modules/should node_modules/yui \
	node_modules/yuidocjs
EXPECTED_NODE_TARGETS=$(shell echo "$(NODE_TARGETS)" | tr ' ' '\n' | sort \
	| tr '\n' ' ')

### Release-specific variables - see docs/process.rst for an overview. ###
# Provide the ability to build a release package without using bzr, for
# lightweight checkouts.
ifdef NO_BZR
BZR_REVNO=0
BRANCH_IS_GOOD=1
else
BZR_REVNO=$(shell bzr revno)
endif
# Figure out the two most recent version numbers.
ULTIMATE_VERSION=$(shell grep '^-' CHANGES.yaml | head -n 1 | sed 's/[ :-]//g')
PENULTIMATE_VERSION=$(shell grep '^-' CHANGES.yaml | head -n 2 | tail -n 1 \<commit_msg>Add an option to prevent make from executing bzr commands.<commit_after># Makefile debugging hack: uncomment the two lines below and make will tell you
# more about what is happening.  The output generated is of the form
# "FILE:LINE [TARGET (DEPENDENCIES) (NEWER)]" where DEPENDENCIES are all the
# things TARGET depends on and NEWER are all the files that are newer than
# TARGET.  DEPENDENCIES will be colored green and NEWER will be blue.
#
#OLD_SHELL := $(SHELL)
#SHELL = $(warning [$@ [32m($^) [34m($?)[m ])$(OLD_SHELL)

# Build a target for JavaScript files.  The find command exclused directories
# as needed through the -prune directive, and the grep command removes
# individual unwanted JavaScript and JSON files from the list.
JSFILES=$(shell find . -wholename './node_modules*' -prune \
	-o -wholename './build*' -prune \
	-o -wholename './test/assets*' -prune \
	-o \( \
    		-name '*.js' \
    		-o -name '*.json' \
    		-o -name '*generateTemplates' \
  	\) -print \
  	| sort | sed -e 's/^\.\///' \
	| grep -Ev -e '^manifest\.json$$' \
		-e '^app/assets/javascripts/d3.v2.*.js$$' \
		-e '^app/assets/javascripts/reconnecting-websocket.js$$' \
		-e '^server.js$$')
THIRD_PARTY_JS=app/assets/javascripts/reconnecting-websocket.js
NODE_TARGETS=node_modules/chai node_modules/cryptojs node_modules/d3 \
	node_modules/expect.js node_modules/express node_modules/graceful-fs \
	node_modules/grunt node_modules/jshint node_modules/less \
	node_modules/minimatch node_modules/mocha node_modules/node-markdown \
	node_modules/node-minify node_modules/node-spritesheet \
	node_modules/rimraf node_modules/should node_modules/yui \
	node_modules/yuidocjs
EXPECTED_NODE_TARGETS=$(shell echo "$(NODE_TARGETS)" | tr ' ' '\n' | sort \
	| tr '\n' ' ')

### Release-specific variables - see docs/process.rst for an overview. ###
# Provide the ability to build a release package without using bzr, for
# lightweight checkouts.
ifdef NO_BZR
BZR_REVNO=0
BRANCH_IS_GOOD=1
else
BZR_REVNO=$(shell bzr revno)
endif
# Figure out the two most recent version numbers.
ULTIMATE_VERSION=$(shell grep '^-' CHANGES.yaml | head -n 1 | sed 's/[ :-]//g')
PENULTIMATE_VERSION=$(shell grep '^-' CHANGES.yaml | head -n 2 | tail -n 1 \
{'fraction_non_alphanumeric': 0.13227513227513227, 'fraction_numerical': 0.005060961582700713, 'mean_word_length': 3.874439461883408, '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': '6210216', 'n_tokens_mistral': 1600, 'n_tokens_neox': 1529, 'n_words': 439}