root/trunk/doc/Makefile.am @ 23

Revision 23, 1.5 kB (checked in by yumileroy, 17 years ago)

[svn] * Adjusted all Makefile headers; Updated to GPL v3

Original author: Coldblooded
Date: 2008-10-06 15:30:26-05:00

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