last-minute additions to distribution list
[platform/upstream/flac.git] / doc / html / Makefile.am
1 #  FLAC - Free Lossless Audio Codec
2 #  Copyright (C) 2001,2002,2003,2004  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         features.html \
32         format.html \
33         goals.html \
34         id.html \
35         index.html \
36         links.html \
37         news.html
38
39 if FLaC__HAS_DOXYGEN
40 EXTRA_DIST = $(doc_DATA) api
41 else
42 EXTRA_DIST = $(doc_DATA)
43 endif
44
45 if FLaC__HAS_DOXYGEN
46 # The install targets don't copy whole directories so we have to
47 # handle 'api/' specially:
48 install-data-local:
49         $(mkinstalldirs) $(DESTDIR)$(docdir)/api
50         (cd api && $(INSTALL_DATA) * $(DESTDIR)$(docdir)/api)
51 uninstall-local:
52         rm -rf $(DESTDIR)$(docdir)/api
53 maintainer-clean-local:
54         rm -rf api
55 endif