From 05b71bc25f0b232d2d95594a111c7f70e4237342 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 16 Sep 2017 18:23:08 +0200 Subject: [PATCH] Fix out-of-path (VPATH) builds. --- doc/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 5c119429..3d9963a0 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -5,7 +5,7 @@ helpdir = @htmldir@ EXTRA_DIST = docbook2html.sh docbook html/GuideIndex.html: docbook/GuideIndex.xml - rm -rf html; mkdir html; cp icons/* html/ + rm -rf html; mkdir html; cp $(srcdir)/icons/* html/ if [ -x "$(GNOME_DOC_TOOL)" ]; then \ "$(GNOME_DOC_TOOL)" html -o html $(srcdir)/docbook/GuideIndex.xml ; \ else \ @@ -17,7 +17,7 @@ html: html/GuideIndex.html install-data-hook: html if [ -x "$(GNOME_DOC_TOOL)" ]; then \ $(MKDIR_P) "$(DESTDIR)$(helpdir)" || exit 1; \ - cd html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/$$f" ; done; \ + cd $(srcdir)/html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/$$f" ; done; \ ln -s GuideIndex.html "$(DESTDIR)$(helpdir)/index.html" ; \ fi -- 2.20.1