view doc/Makefile.am @ 1748:b8d37cc79410

copy_file(): remove incomplete file on error (bug 2890715) The behavior changed, data is first written to a temporary file, which is unlinked in case of error, then the tempfile is renamed to the final name. Size of buffer was increased from 4k to 16k.
author zas_
date Sun, 10 Jan 2010 14:23:29 +0000
parents c08defa57068
children c4d37e0fc841
line wrap: on
line source

## Process this file with automake to produce Makefile.in.

helpdir = @htmldir@

# empty help_DATA just installs the directory
help_DATA = 

EXTRA_DIST = docbook2html.sh docbook

html/GuideIndex.html: docbook/GuideIndex.xml
	rm -rf html; mkdir html && gnome-doc-tool html -o html $(srcdir)/docbook/GuideIndex.xml

html: html/GuideIndex.html

install-data-hook: html
	cd html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/$$f" ; done
	ln -s GuideIndex.html "$(DESTDIR)$(helpdir)/index.html"
	
uninstall-hook:
	rm "$(DESTDIR)$(helpdir)/"*

clean-local:
	rm -rf html