merge from FLAC 1.1.1 maintenance branch (-j FLAC_RELEASE_1_1_1__2004_10_01 -j FLAC_R...
[platform/upstream/flac.git] / doc / html / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2001,2002,2003,2004,2005  Josh Coalson
3 #
4 #  This file is part the FLAC project.  FLAC is comprised of several
5 #  components distributed under difference licenses.  The codec libraries
6 #  are distributed under Xiph.Org's BSD-like license (see the file
7 #  COPYING.Xiph in this distribution).  All other programs, libraries, and
8 #  plugins are distributed under the GPL (see COPYING.GPL).  The documentation
9 #  is distributed under the Gnu FDL (see COPYING.FDL).  Each file in the
10 #  FLAC distribution contains at the top the terms under which it may be
11 #  distributed.
12 #
13 #  Since this particular file is relevant to all components of FLAC,
14 #  it may be distributed under the Xiph.Org license, which is the least
15 #  restrictive of those mentioned above.  See the file COPYING.Xiph in this
16 #  distribution.
17
18 AUTOMAKE_OPTIONS = foreign
19
20 SUBDIRS = ru images
21
22 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)/html
23
24 doc_DATA =  \
25         changelog.html \
26         comparison.html \
27         developers.html \
28         documentation.html \
29         download.html \
30         faq.html \
31         favicon.ico \
32         features.html \
33         format.html \
34         goals.html \
35         id.html \
36         index.html \
37         license.html \
38         links.html \
39         news.html \
40         ogg_mapping.html
41
42 if FLaC__HAS_DOXYGEN
43 EXTRA_DIST = $(doc_DATA) api
44 else
45 EXTRA_DIST = $(doc_DATA)
46 endif
47
48 if FLaC__HAS_DOXYGEN
49 # The install targets don't copy whole directories so we have to
50 # handle 'api/' specially:
51 install-data-local:
52         $(mkinstalldirs) $(DESTDIR)$(docdir)/api
53         (cd api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
54 uninstall-local:
55         rm -rf $(DESTDIR)$(docdir)/api
56 maintainer-clean-local:
57         rm -rf api
58 endif