X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=doc%2FMakefile.am;h=7055ea1efc33675c03bfa33c5b2c58ac159e857e;hp=a6b745f441bd128b529d08b265f0d7df1310fb7d;hb=c5600d6e82bf2c53bef1e6e876e76b407a5fd59f;hpb=db38d12f83128e9890ce2d2c7acc5ad62062bc7e diff --git a/doc/Makefile.am b/doc/Makefile.am index a6b745f4..7055ea1e 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -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