Commit 92755b0a authored by Bastien ROUCARIÈS's avatar Bastien ROUCARIÈS

Robustify doxygen dir install

Do not run install on not generated doxygen dir

Forwarded: Yes
parent e57f784a
......@@ -248,17 +248,19 @@ endif
install-data-html:
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
$(INSTALL_DATA) $(srcdir)/index.html $(DESTDIR)$(pkgdocdir)
@for dir in $(DOCDIRS) ; do \
for dir in $(DOCDIRS) ; do \
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
if test -d $(builddir)/$$dir ; then \
docsrcdir=$(builddir)/$$dir; \
else \
docsrcdir=$(srcdir)/$$dir; \
fi; \
for file in $$docsrcdir/*.* ; do \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
done ; \
if test -d $$docsrcdir; then \
for file in $$docsrcdir/*.* ; do \
echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
$(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
done ; \
fi; \
done
# Uninstall HTML files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment