From 1c8d34c1c7069a5427475da2209475d60f38f6a3 Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Tue, 13 Aug 2024 15:13:45 +0100 Subject: [PATCH] 2024-08-13/01: fix typo --- 2024-08-13/01-abusing-makefiles-for-fun-and-profit.md | 6 +++--- 1 file changed, 3 insertions(+), 3 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 07416c8..2910151 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/77178d0fbf3bc4d38e341ff949a43786880f372f/Makefile): +[`Makefile`](https://github.com/thiagokokada/blog/blob/5a4377648161ceb9ffa8297bcec97b58a5650b21/Makefile): ```Makefile MARKDOWN := $(shell find . -type f -name '*.md' -not -name README.md) @@ -124,12 +124,12 @@ post: blog day @[ "${TITLE}" ] || ( echo ">> TITLE is not set"; exit 1 ) ./.scripts/gen-post.sh '$(_PARSED_DAY)' '$(TITLE)' -.PHONE: draft +.PHONY: draft draft: @[ "${FILE}" ] || ( echo ">> FILE is not set"; exit 1 ) mv '$(FILE)' '$(dir $(FILE)).$(notdir $(FILE))' -.PHONE: undraft +.PHONY: undraft undraft: @[ "${FILE}" ] || ( echo ">> FILE is not set"; exit 1 ) mv '$(FILE)' '$(dir $(FILE))$(patsubst .%,%,$(notdir $(FILE)))'