diff --git a/vars b/vars
index c4851686e4174df2e8f6f303cbba4c0de114345a..b6052502b9e90389ddbdc7f50ed4c023ea21298e 100644
--- a/vars
+++ b/vars
@@ -11,4 +11,4 @@ RELEASE := $(BOOK)-$(VERSION).pdf
 GLOS := makeglossaries -d $(DROSS)
 RUN := lualatex -output-directory $(DROSS) -shell-escape
 CLEAN := $(RM) -r $(DROSS) qr.tex *.pdf .switch-gls svg-inkscape
-DEPS := *tex config/*sty
+DEPS := $(wildcard *.tex) $(wildcard config/*sty) $(wildcard $(DROSS)*.glg)