From d85c8f606265a39df521c5fcd6eae6ca8b0faed4 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Thu, 15 Aug 2024 11:14:03 +0100 Subject: [PATCH] 2024-08-13/01: update Makefile --- 2024-08-13/01-abusing-makefiles-for-fun-and-profit.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2024-08-13/01-abusing-makefiles-for-fun-and-profit.md b/2024-08-13/01-abusing-makefiles-for-fun-and-profit.md index ad825f5..2d5f180 100644 --- a/2024-08-13/01-abusing-makefiles-for-fun-and-profit.md +++ b/2024-08-13/01-abusing-makefiles-for-fun-and-profit.md @@ -92,7 +92,7 @@ responsible to do some transformations in the Markdown files before posting. While I could manage everything by just using `go` CLI and a few other *nix commands, to make it easier to manager everything I have the following -[`Makefile`](https://github.com/thiagokokada/blog/blob/e2c30dcc117ba0b95e3df1dbea0be6b5064d5a7e/Makefile): +[`Makefile`](https://github.com/thiagokokada/blog/blob/527466a2a7c8baae532281bff5db3f0695f018cb/Makefile): ```Makefile MARKDOWN := $(wildcard ./**/*.md) @@ -124,7 +124,7 @@ TITLE = $(error TITLE is not defined) post: blog day ./.scripts/gen-post.sh '$(_PARSED_DAY)' '$(TITLE)' -TITLE = $(error FILE is not defined) +FILE = $(error FILE is not defined) .PHONY: draft draft: cd '$(dir $(FILE))' && mv '$(notdir $(FILE))' '.$(notdir $(FILE))'