Remove commented out code.
[geeqie.git] / doc / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 helpdir = @htmldir@
4
5 # empty help_DATA just installs the directory
6 help_DATA = 
7
8 EXTRA_DIST = docbook2html.sh docbook
9
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 ; \
14         else \
15                 echo "gnome-doc-tool not found, html is not built" ; \
16         fi
17
18 html: html/GuideIndex.html
19
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" ; \
24         fi
25         
26 uninstall-hook:
27         rm "$(DESTDIR)$(helpdir)/"*
28
29 clean-local:
30         rm -rf html
31