Skip to content

What's the use case of the "all:" target in makefile? #39

@darkato42

Description

@darkato42

Hi,

Thanks for the awesome work! I'm forking this repo and add my own customisations.

I understand command make install will copy the new capslock.json to the complex_modifications folder. However, what's the intended use of make all here? The karabiner.json file isn't available or generated within this path.

compile:
	yq eval capslock.yml -j > capslock.json

install: compile
	mkdir -p $$HOME/.config/karabiner/assets/complex_modifications/
	cp capslock.json $$HOME/.config/karabiner/assets/complex_modifications/

all:
	mkdir -p $$HOME/.config/karabiner/
	cp karabiner.json $$HOME/.config/karabiner/

.PHONY: compile,install,all

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions