From ca0e7fc7943682fa9285f9cca8d60c961fc433b0 Mon Sep 17 00:00:00 2001
From: Malin Freeborn <malinfreeborn@posteo.net>
Date: Tue, 18 Jul 2023 23:36:48 +0200
Subject: [PATCH] have Makefile watch tex files

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 9b4c0ea5..b9560b92 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ $(BOOK).glo: | svg-inkscape
 	@pdflatex -jobname $(BOOK) main.tex
 $(BOOK).sls: | $(BOOK).glo
 	@makeglossaries $(BOOK)
-$(BOOK).pdf: $(BOOK).sls
+$(BOOK).pdf: $(BOOK).sls $(wildcard *.tex) $(wildcard config/*.sty)
 	@pdflatex -jobname $(BOOK) main.tex
 
 all: $(BOOK).pdf 
-- 
GitLab