changeset 2186:0ed64dbb81a0

Fix for support >=automake-1.11.4 Patch by Marien Zwart https://bugs.gentoo.org/show_bug.cgi?id=414863 http://sourceforge.net/tracker/?func=detail&aid=3562437&group_id=222125&atid=1054680
author Laurent Monin <zas@norz.org>
date Thu, 30 Aug 2012 18:46:00 +0200
parents c14a1d8e6aa4
children 10da9a919432
files doc/Makefile.am
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/Makefile.am	Thu Aug 30 18:32:32 2012 +0200
+++ b/doc/Makefile.am	Thu Aug 30 18:46:00 2012 +0200
@@ -2,9 +2,6 @@
 
 helpdir = @htmldir@
 
-# empty help_DATA just installs the directory
-help_DATA = 
-
 EXTRA_DIST = docbook2html.sh docbook
 
 html/GuideIndex.html: docbook/GuideIndex.xml
@@ -19,6 +16,7 @@
 
 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; \
 		ln -s GuideIndex.html "$(DESTDIR)$(helpdir)/index.html" ; \
 	fi