Capslock icon indicating copy to clipboard operation
Capslock copied to clipboard

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

Open darkato42 opened this issue 3 years ago • 1 comments
trafficstars

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

darkato42 avatar Jan 02 '22 17:01 darkato42

Well it’s actually an obsolete stub to overwrite karabiner config for debug purpose. Will be removed.

Vonng avatar Jan 03 '22 09:01 Vonng