diff --git a/PocoDoc/cfg/mkdoc-poco.xml b/PocoDoc/cfg/mkdoc-poco.xml
index d0b9c8f0f..7da4d9616 100644
--- a/PocoDoc/cfg/mkdoc-poco.xml
+++ b/PocoDoc/cfg/mkdoc-poco.xml
@@ -39,6 +39,7 @@
-DPOCO_NO_WINDOWS_H,
-DPOCO_NO_GCC_API_ATTRIBUTE,
-DPOCO_DOC,
+ -DPOCO_SILENCE_DEPRECATED,
-xc++
diff --git a/PocoDoc/cfg/mkdocumentation.xml b/PocoDoc/cfg/mkdocumentation.xml
index 7519cd5ba..3a267f42e 100644
--- a/PocoDoc/cfg/mkdocumentation.xml
+++ b/PocoDoc/cfg/mkdocumentation.xml
@@ -36,7 +36,8 @@
-E,
-C,
-DPOCO_NO_GCC_API_ATTRIBUTE,
- -DPOCO_DOC
+ -DPOCO_DOC,
+ -DPOCO_SILENCE_DEPRECATED
true
diff --git a/release/script/mkdoc b/release/script/mkdoc
index f7495071c..c8daff22e 100755
--- a/release/script/mkdoc
+++ b/release/script/mkdoc
@@ -86,7 +86,7 @@ echo "Building tools"
tools=$POCO_BASE/stage/tools
rm -rf $tools
mkdir -p $tools
-mkrelease -o $tools $version CppParser PocoDoc
+mkrelease -o $tools $version Data Data/SQLite CppParser PocoDoc
cd $tools
./configure --no-tests --no-samples --no-prefix