diff --git a/layout.sty b/layout.sty
index 3381f3b39c1735e5f34d9462f0203b4ef4d2186c..5e7cd662dde3ad7516f19cae2c95c79f3cfb6c79 100644
--- a/layout.sty
+++ b/layout.sty
@@ -194,10 +194,8 @@ bookmarks=true]%
 
 \newcommand*{\externalReferent}[1]{
   \newtoggle{#1}
-    \IfFileExists{../#1/#1.aux}{
-      \@addtofilelist{../#1/#1.tex}
-      \@addtofilelist{../#1/#1.aux}%
-      \externaldocument{../#1/#1}%
+    \IfFileExists{../rubbish/#1.aux}{
+      \externaldocument{../rubbish/#1}%
       \settoggle{#1}{true}
     }%
     {\typeout{No file #1.}
diff --git a/vars b/vars
index f2fec804c65aa94c6628f820feeb4b9db92563b9..c4851686e4174df2e8f6f303cbba4c0de114345a 100644
--- a/vars
+++ b/vars
@@ -5,7 +5,7 @@ COMPRESS = gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.5 -dNOPAUSE -dQUIET -dBAT
 
 CP := ln -f
 BOOK := $(shell basename "$$(pwd)")
-DROSS := $(shell head -1 .gitignore)
+DROSS := ../rubbish/
 COMPILER := latexmk -auxdir=$(DROSS) -pdflua -silent -shell-escape -r config/.latexmkrc -jobname=$(BOOK)
 RELEASE := $(BOOK)-$(VERSION).pdf
 GLOS := makeglossaries -d $(DROSS)