Don't repeatedly install the doc dir for every file
authorRon <ron@debian.org>
Sun, 12 May 2013 05:02:52 +0000 (14:32 +0930)
committerRon <ron@debian.org>
Sun, 12 May 2013 05:02:52 +0000 (14:32 +0930)
doc/Makefile.am

index cf5908a..02f3493 100644 (file)
@@ -21,8 +21,8 @@ doxygen-build.stamp: Doxyfile $(DOCINPUTS)
        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