--- gpgme-1.10.0/lang/qt/doc/Makefile.am.orig	2017-12-14 11:40:14.799638000 +0300
+++ gpgme-1.10.0/lang/qt/doc/Makefile.am	2017-12-14 11:40:41.099142200 +0300
@@ -21,6 +21,7 @@
 
 if HAVE_DOXYGEN
 doxyfile.stamp:
+	mkdir -p $(abs_builddir)/generated
 	$(DOXYGEN) Doxyfile
 	touch doxyfile.stamp
 
