67703e9e76860fe57325548a4d52dbf9ea864984
[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 all-local: Doxyfile
22 FLAC.tag: Doxyfile
23         doxygen Doxyfile
24         rm -rf html/api
25         mv doxytmp/html html/api
26         rm -rf doxytmp
27 else
28 FLAC.tag:
29         echo "*** Warning: Doxygen not found; documentation will not be built."
30         touch $@
31         mkdir -p html/api
32 endif
33
34 docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
35
36 doc_DATA = \
37         FLAC.tag
38
39 EXTRA_DIST = Doxyfile.in Makefile.lite doxygen.footer.html doxygen.header.html $(doc_DATA)
40
41 maintainer-clean-local:
42         rm -rf FLAC.tag html/api doxytmp