Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
darkato42 opened this issue Jan 2, 2022 · 1 comment
Open

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

darkato42 opened this issue Jan 2, 2022 · 1 comment
Assignees
Labels

Comments

@darkato42
Copy link

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
@Vonng
Copy link
Owner

Vonng commented Jan 3, 2022

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

@Vonng Vonng self-assigned this Jan 3, 2022
@Vonng Vonng added the question label Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants