Capslock
Capslock copied to clipboard
What's the use case of the "all:" target in makefile?
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
Well it’s actually an obsolete stub to overwrite karabiner config for debug purpose. Will be removed.