From 740caa948c77c8b78ae52af4f0758d28b923bc1e Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 13 Aug 2022 00:53:37 -0400 Subject: [PATCH] make: Fix circular dependency of gopher/atom.xml target The `find` on gopher/phlog was finding gopher/atom.xml and storing it in $(PHLOG), which was a dependency of gopher/atom.xml. Filtering it via grep fixes the circular dependency. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c09d054..72322a8 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ CFLAGS = -g -O2 -Wall -Wpedantic -Wextra HTML != echo www/*.txt www/blog/*.txt | sed 's@\([^\.]*\)\.txt@\1.html@g' SETS != find www/jam-tuesday -name '[0-9][0-9][0-9][0-9]-*' NOTES != find gopher/notes/all -PHLOG != find gopher/phlog +PHLOG != find gopher/phlog | grep -v atom.xml BUILT = $(HTML) \ gopher/notes/index.gph \ -- libgit2 1.1.1