Don't repeatedly install the doc dir for every file
diff --git a/doc/Makefile.am b/doc/Makefile.am
index cf5908a..02f3493 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -21,8 +21,8 @@
 	touch $@
 
 install-data-local:
+	$(INSTALL) -d $(DESTDIR)$(docdir)/html/search
 	for f in `find html -type f \! -name "installdox"`; do	\
-		$(INSTALL) -d $(DESTDIR)$(docdir)/html/search;	\
 		$(INSTALL_DATA) $$f $(DESTDIR)$(docdir)/$$f;	\
 	done