commit 740caa948c77c8b78ae52af4f0758d28b923bc1e (patch)
parent edc69880480d09105208ff3cbb8713ccea65f6ed
Author: Alex Karle <alex@alexkarle.com>
Date: Sat, 13 Aug 2022 00:53:37 -0400
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 \