autogen.sh: replace this by a simple call to autoreconf
[platform/upstream/flac.git] / doc / Makefile.am
1 #  flac - Command-line FLAC encoder/decoder
2 #  Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009  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 along
15 #  with this program; if not, write to the Free Software Foundation, Inc.,
16 #  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18 SUBDIRS = . html
19
20 if FLaC__HAS_DOXYGEN
21 FLAC.tag: Doxyfile
22         doxygen Doxyfile
23         rm -rf html/api
24         mv doxytmp/html html/api
25         rm -rf doxytmp
26 else
27 FLAC.tag:
28         echo "*** Warning: Doxygen not found; documentation will not be built."
29         touch $@
30         mkdir -p html/api
31 endif
32
33 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
34
35 doc_DATA = \
36         FLAC.tag
37
38 EXTRA_DIST = Doxyfile Makefile.lite doxygen.footer.html doxygen.header.html $(doc_DATA)
39
40 maintainer-clean-local:
41         rm -rf FLAC.tag html/api doxytmp