1 ## Process this file with automake to produce Makefile.in.
5 EXTRA_DIST = docbook icons
7 html/GuideIndex.html: docbook/GuideIndex.xml
8 rm -rf html; mkdir html; cp $(srcdir)/icons/* html/; ./create-doxygen-lua-api.sh
9 if [ -x "$(GNOME_DOC_TOOL)" ]; then \
10 "$(GNOME_DOC_TOOL)" html -i -o html/ $(srcdir)/docbook/GuideIndex.xml ; \
12 echo "yelp-tools not found, html is not built" ; \
15 html: html/GuideIndex.html
17 install-data-hook: html
18 if [ -x "$(GNOME_DOC_TOOL)" ]; then \
19 $(MKDIR_P) "$(DESTDIR)$(helpdir)" || exit 1; \
20 cd $(srcdir)/html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/$$f" ; done; \
21 ln -s -f GuideIndex.html "$(DESTDIR)$(helpdir)/index.html" ; \
22 $(MKDIR_P) "$(DESTDIR)$(helpdir)/lua-api" || exit 1; \
23 $(MKDIR_P) "$(DESTDIR)$(helpdir)/lua-api/html" || exit 1; \
24 cd ./lua-api/html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/lua-api/html/$$f" ; done; \
28 rm -r "$(DESTDIR)$(helpdir)/"*