1 ## Process this file with automake to produce Makefile.in.
5 # empty help_DATA just installs the directory
8 EXTRA_DIST = docbook2html.sh docbook
10 html/GuideIndex.html: docbook/GuideIndex.xml
11 rm -rf html; mkdir html
12 if [ -x "$(GNOME_DOC_TOOL)" ]; then \
13 "$(GNOME_DOC_TOOL)" html -o html $(srcdir)/docbook/GuideIndex.xml ; \
15 echo "gnome-doc-tool not found, html is not built" ; \
18 html: html/GuideIndex.html
20 install-data-hook: html
21 if [ -x "$(GNOME_DOC_TOOL)" ]; then \
22 cd html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/$$f" ; done; \
23 ln -s GuideIndex.html "$(DESTDIR)$(helpdir)/index.html" ; \
27 rm "$(DESTDIR)$(helpdir)/"*