root/trunk/doc/Makefile.am @ 2

Revision 2, 1.4 kB (checked in by yumileroy, 17 years ago)

[svn] * Proper SVN structure

Original author: Neo2003
Date: 2008-10-02 16:23:55-05:00

Line 
1# Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
2#
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software
15# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
17## Process this file with automake to produce Makefile.in
18
19## Sub-directories to parse
20
21## Additional files to include when running 'make dist'
22#  Nothing yet.
23#  Doxygen configuration files.
24EXTRA_DIST = \
25        DocStructure.dox \
26        Doxyfile
27
28DOC_DIR = .
29DOXYFILE = $(DOC_DIR)/Doxyfile
30DOC_HTML = $(DOC_OUT)/index.html
31DOC_OUT_HTML = $(DOC_DIR)/html
32DOXYGEN = @DOXYGEN@
33
34if DOXYGEN_ENABLED
35doc: $(DOC_HTML)
36        @echo ""
37        @echo "Type \"firefox $(DOC_OUT_HTML)/index.html\" to see the html document."
38        @echo ""
39
40$(DOC_HTML): $(DOXYFILE)
41        $(DOXYGEN) $(DOXYFILE)
42else
43.PHONY: doc
44doc:
45        @echo "You must enable at configure time: ./configure --enable-doxygen"
46endif
47
48clean-local:
49        rm -rf $(DOC_OUT_HTML)
Note: See TracBrowser for help on using the browser.