Makefile Updates
I updated my makefile recently, and in the process learned how to manage makefile variables and arguments. The major change is that the makefile now adds the created file to git. I'm typically not a fan of these sorts of opinionations about secondary tools, but now I totally understand the affordance it creates.
.PHONY: note
note:
@filename=notes/$(shell date +%s).md; \
touch $$filename; \
git add $$filename;
- Previous: Automating Publishing Schedules
- Next: Give Tech a Budget