diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 772fb5fef3e1c13860a70e5f5ed3e91f78d759cd..e2f43810082650206407166e6941e2dd650bcc18 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,8 +20,11 @@ build-pdf:
     - x86_64-linux
   image: "aergus/latex:latest"
   script:
+    - touch haskell.tex
+    - touch ott.tex
     - make haskell.pdf
   stage: pdf
   artifacts:
     paths:
       - haskell.pdf
+  dependencies: build-tex