[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / doc / Makefile.am
blobef6954dcd9bfc0acf0605487923a4f95af183e32
1 # Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
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.
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.
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
17 ## Process this file with automake to produce Makefile.in
19 ## Sub-directories to parse
21 ## Additional files to include when running 'make dist'
22 #  Nothing yet.
23 #  Doxygen configuration files.
24 EXTRA_DIST = \
25         DocStructure.dox \
26         Doxyfile
28 DOC_DIR = .
29 DOXYFILE = $(DOC_DIR)/Doxyfile
30 DOC_HTML = $(DOC_OUT)/index.html
31 DOC_OUT_HTML = $(DOC_DIR)/html
32 DOXYGEN = @DOXYGEN@
34 if DOXYGEN_ENABLED
35 doc: $(DOC_HTML)
36         @echo ""
37         @echo "Type \"firefox $(DOC_OUT_HTML)/index.html\" to see the html document."
38         @echo ""
40 $(DOC_HTML): $(DOXYFILE)
41         $(DOXYGEN) $(DOXYFILE)
42 else
43 .PHONY: doc
44 doc:
45         @echo "You must enable at configure time: ./configure --enable-doxygen"
46 endif
48 clean-local:
49         rm -rf $(DOC_OUT_HTML)