add example code section
[platform/upstream/flac.git] / doc / Makefile.am
1 #  flac - Command-line FLAC encoder/decoder
2 #  Copyright (C) 2002,2003,2004,2005,2006,2007  Josh Coalson
3 #
4 #  This program is free software; you can redistribute it and/or
5 #  modify it under the terms of the GNU General Public License
6 #  as published by the Free Software Foundation; either version 2
7 #  of the License, or (at your option) any later version.
8 #
9 #  This program is distributed in the hope that it will be useful,
10 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
11 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 #  GNU General Public License for more details.
13 #
14 #  You should have received a copy of the GNU General Public License
15 #  along with this program; if not, write to the Free Software
16 #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
17
18 AUTOMAKE_OPTIONS = foreign
19
20 SUBDIRS = . html
21
22 if FLaC__HAS_DOXYGEN
23 FLAC.tag: Doxyfile
24         doxygen Doxyfile
25         rm -rf html/api
26         mv doxytmp/html html/api
27         rm -rf doxytmp
28 else
29 FLAC.tag:
30         echo "*** Warning: Doxygen not found; documentation will not be built."
31         touch $@
32         mkdir -p html/api
33 endif
34
35 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
36
37 doc_DATA = \
38         FLAC.tag
39
40 EXTRA_DIST = Doxyfile Makefile.lite doxygen.footer.html doxygen.header.html $(doc_DATA)
41
42 maintainer-clean-local:
43         rm -rf FLAC.tag html/api doxytmp