4 ms·
I (ab)use make to manage my dotfiles. https://github.com/matheusmoreira/.files/blob/master/GNUmakefile https://github.com/matheusmoreira/.files/blob/master/GNU
by matheusmoreira 3y ago
I (ab)use make to manage my dotfiles.
https://github.com/matheusmoreira/.files/blob/master/GNUmakefile https://github.com/matheusmoreira/.files/blob/master/GNUmake...
I'm surprised at how well this thing works every time I use it. I even blogged about it.
https://www.matheusmoreira.com/articles/managing-dotfiles-with-make https://www.matheusmoreira.com/articles/managing-dotfiles-wi...
Recently made a tool that processes the make database and prints the phony targets and their dependencies:
https://github.com/matheusmoreira/.files/blob/master/~/.local/bin/phony-targets https://github.com/matheusmoreira/.files/blob/master/~/.loca...
I use it as a sort of makefile help command. Works surprisingly well too.