diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 726be652f7574d7d17d7cef95405461cb6c30ab6..d672440fee00a66edb88715083707a720d55ece3 100644
--- a/doc/doxygen/Makefile.am
+++ b/doc/doxygen/Makefile.am
@@ -11,6 +11,7 @@ endif
 all: $(WHAT)
 
 # setting like in dune-web
+BASEDIR=../..
 CURDIR=doc/doxygen
 EXTRAINSTALL = html/*.html html/*.css html/*.png doxygen.log