diff --git a/doc/html/Makefile.am b/doc/html/Makefile.am
index dd1e9259..be5c56c2 100644
--- a/doc/html/Makefile.am
+++ b/doc/html/Makefile.am
@@ -31,10 +31,9 @@ doc_DATA = \
goals.html \
id.html \
index.html \
- news.html \
- api
+ news.html
-EXTRA_DIST = $(doc_DATA)
+EXTRA_DIST = $(doc_DATA) api
# The install targets don't copy whole directories so we have to
# handle 'api/' specially: