1## Process this file with automake to produce Makefile.in
2AUTOMAKE_OPTIONS = 1.10 foreign dist-zip no-dist-gzip
3
4## Build doc files
5all-local: html/index.html
6
7html/index.html: $(srcdir)/../*.h \
8		$(srcdir)/../*.cpp \
9		$(srcdir)/../../../include/xspf/*.h \
10		$(srcdir)/../../../src/*.cpp \
11		$(srcdir)/../../../src/*.h
12	-rm -Rf "$(builddir)/html"
13	doxygen Doxyfile
14	touch html/index.html
15
16
17## Clean doc files
18clean-local:
19	-rm -Rf "$(builddir)/html"
20	-rm -f *.qch
21
22
23## Clean configure files
24distclean-local:
25	-rm -f config.{log,status} release.sh Doxyfile
26
27
28## Install doc files
29install-data-local:
30	$(MKDIR_P) "$(DESTDIR)$(docdir)/html"  ## Didn't work with installdirs-local
31	$(INSTALL_DATA) html/*.{css,gif,html,png} "$(DESTDIR)$(docdir)/html/"
32	$(INSTALL_DATA) *.qch "$(DESTDIR)$(docdir)/"
33
34
35## Uninstall doc files
36uninstall-local:
37	-rm -Rf "$(DESTDIR)$(docdir)/html"
38	-rm -f "$(DESTDIR)$(docdir)"/*.qch
39