<commit_before># TODO make posix
# Vars {{{

# ensure sh
SHELL = /bin/sh
# clear out suffixes
.SUFFIXES:

# Customize for installation {{{

DOTFILES = .
BACKUP = $(HOME)/Dotfiles.bak
SETUP = setup
SUPPORT = $(SETUP)/support
BREWFILE = brew/Brewfile
REQUIREMENTS = requirements.txt
XDG_CONFIG_HOME = $(HOME)/.config
# supported features:
# git_extras
# brew_install
# pip
# none
FEATURES = git_extras brew_install pip

# }}}

# }}}

# Targets (Rules & Recipes) {{{

# default: print help about targets
default:
	@grep -E '^# .+: .+' Makefile | tr -d '#' | tr ':' '\t'

# install: bootstrap the dotfiles
install: symlink $(FEATURES)

# update: update the dotfiles
update: pull_master update_submodules brew_check vimtags pip

# symlink: ensure symlinks created
symlink:
	$(SETUP)/makesymlinks.sh

# vimtags: regenerate tags for vim helpfiles
vimtags:
	vim +':helptags ALL' +'q'

# brewfile: update the brewfile
brewfile:
	brew bundle dump --force --file="$(BREWFILE)"

# submodules: fixup any issues with submodules
submodules:
	git submodule sync
	git submodule update --init
	git clean -ffd links/vim/pack/

none:
	@:

USER_GITK = $(XDG_CONFIG_HOME)/git/gitk
DRACULA_GITK = $(DOTFILES)/Dracula/gitk/gitk

git_extras: gitk

gitk:
	[ -r "$(DRACULA_GITK)" ]
	mkdir -p "$$(dirname $(USER_GITK))"
	cp -iv -- "$(DRACULA_GITK)" "$(USER_GITK)"

BREW_URL = https://raw.githubusercontent.com/Homebrew/install/master/install

brew_install:
	/usr/bin/ruby -e "$$( curl -fsSL $(BREW_URL) )"
	brew tap Homebrew/bundle
	brew bundle install --file="$(BREWFILE)"<commit_msg>make: Remove more refs to DOTFILES<commit_after># TODO make posix
# Vars {{{

# ensure sh
SHELL = /bin/sh
# clear out suffixes
.SUFFIXES:

# Customize for installation {{{

BACKUP = $(HOME)/Dotfiles.bak
SETUP = setup
SUPPORT = $(SETUP)/support
BREWFILE = brew/Brewfile
REQUIREMENTS = requirements.txt
XDG_CONFIG_HOME = $(HOME)/.config
# supported features:
# git_extras
# brew_install
# pip
# none
FEATURES = git_extras brew_install pip

# }}}

# }}}

# Targets (Rules & Recipes) {{{

# default: print help about targets
default:
	@grep -E '^# .+: .+' Makefile | tr -d '#' | tr ':' '\t'

# install: bootstrap the dotfiles
install: symlink $(FEATURES)

# update: update the dotfiles
update: pull_master update_submodules brew_check vimtags pip

# symlink: ensure symlinks created
symlink:
	$(SETUP)/makesymlinks.sh

# vimtags: regenerate tags for vim helpfiles
vimtags:
	vim +':helptags ALL' +'q'

# brewfile: update the brewfile
brewfile:
	brew bundle dump --force --file="$(BREWFILE)"

# submodules: fixup any issues with submodules
submodules:
	git submodule sync
	git submodule update --init
	git clean -ffd links/vim/pack/

none:
	@:

USER_GITK = $(XDG_CONFIG_HOME)/git/gitk
DRACULA_GITK = Dracula/gitk/gitk

git_extras: gitk

gitk:
	[ -r "$(DRACULA_GITK)" ]
	mkdir -p "$$(dirname $(USER_GITK))"
	cp -iv -- "$(DRACULA_GITK)" "$(USER_GITK)"

BREW_URL = https://raw.githubusercontent.com/Homebrew/install/master/install

brew_install:
	/usr/bin/ruby -e "$$( curl -fsSL $(BREW_URL) )"
	brew tap Homebrew/bundle
	brew bundle install --file="$(BREWFILE)"
{'fraction_non_alphanumeric': 0.14180064308681672, 'fraction_numerical': 0.0, 'mean_word_length': 4.410434782608696, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '542842', 'n_tokens_mistral': 1214, 'n_tokens_neox': 1187, 'n_words': 303}