Don't repeatedly install the doc dir for every file
authorRon <ron@debian.org>
Mon, 13 May 2013 08:11:51 +0000 (17:41 +0930)
committerRon <ron@debian.org>
Mon, 13 May 2013 08:11:51 +0000 (17:41 +0930)
Makefile.am

index c5fcecb..983e3f0 100644 (file)
@@ -63,8 +63,8 @@ install-docs:
        @if [ -z "$(NO_DOXYGEN)" ]; then \
          ( cd doc && \
            echo "Installing documentation in $(DESTDIR)$(docdir)"; \
+           $(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 ) \
        fi