Fix for support >=automake-1.11.4
authorLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 16:46:00 +0000 (18:46 +0200)
committerLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 16:46:00 +0000 (18:46 +0200)
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

doc/Makefile.am

index a6b745f..7055ea1 100644 (file)
@@ -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 @@ 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; \
                ln -s GuideIndex.html "$(DESTDIR)$(helpdir)/index.html" ; \
        fi