From 2b4659aebe74d297acf88fefd8f7b8d7bc2b212f Mon Sep 17 00:00:00 2001 From: Pegasis Date: Sun, 18 Jan 2026 20:10:00 -0500 Subject: [PATCH] fix Makefile for nested tex files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 916b2228..93aef21c 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ define COMPILE_BIBTEX endef # Default target: Compile all .tex files if no specific target is given -all: $(patsubst %.tex, %.pdf, $(wildcard **/*.tex)) +all: $(patsubst %.tex, %.pdf, $(shell find . -mindepth 3 -name "*.tex")) # Rule for compiling .tex to .pdf %.pdf: %.tex