diff --git a/Makefile.am b/Makefile.am
index 26d6b1c2a12516f86aeda70ad383f9b3e40fac9d..2f7baf28e4fb9cd267410e60a08fda4de3b61855 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -116,6 +116,7 @@ docrst = \
 	doc/hooks.rst \
 	doc/iallocator.rst \
 	doc/install.rst \
+	doc/rapi.rst \
 	doc/security.rst
 
 dochtml = $(patsubst %.rst,%.html,$(docrst))
@@ -160,6 +161,7 @@ EXTRA_DIST = \
 	$(docrst) \
 	$(docdot) \
 	doc/build-rapi-resources-doc \
+	doc/rapi-resources.gen \
 	doc/examples/bash_completion.in \
 	doc/examples/ganeti.initd.in \
 	doc/examples/ganeti.cron.in \