Include check for untranslated text
[geeqie.git] / doc / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 helpdir = @htmldir@
4
5 EXTRA_DIST = docbook2html.sh docbook icons
6
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 ; \
11         else \
12                 echo "yelp-tools not found, html is not built" ; \
13         fi
14
15 html: html/GuideIndex.html
16
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                 cd ./lua-api/html; for f in * ; do $(INSTALL_DATA) "$$f" "$(DESTDIR)$(helpdir)/lua-api/$$f" ; done; \
24         fi
25
26 uninstall-hook:
27         rm -r "$(DESTDIR)$(helpdir)/"*
28
29 clean-local:
30         rm -rf html