[102] | 1 | # Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> |
---|
| 2 | # |
---|
[23] | 3 | # Copyright (C) 2008 Trinity <http://www.trinitycore.org/> |
---|
[2] | 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 |
---|
[44] | 7 | # the Free Software Foundation; either version 2 of the License, or |
---|
[2] | 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 |
---|
[23] | 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
[2] | 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 |
---|
[23] | 17 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
[2] | 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. |
---|
| 26 | EXTRA_DIST = \ |
---|
| 27 | DocStructure.dox \ |
---|
| 28 | Doxyfile |
---|
| 29 | |
---|
| 30 | DOC_DIR = . |
---|
| 31 | DOXYFILE = $(DOC_DIR)/Doxyfile |
---|
| 32 | DOC_HTML = $(DOC_OUT)/index.html |
---|
| 33 | DOC_OUT_HTML = $(DOC_DIR)/html |
---|
| 34 | DOXYGEN = @DOXYGEN@ |
---|
| 35 | |
---|
| 36 | if DOXYGEN_ENABLED |
---|
| 37 | doc: $(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) |
---|
| 44 | else |
---|
| 45 | .PHONY: doc |
---|
| 46 | doc: |
---|
| 47 | @echo "You must enable at configure time: ./configure --enable-doxygen" |
---|
| 48 | endif |
---|
| 49 | |
---|
| 50 | clean-local: |
---|
| 51 | rm -rf $(DOC_OUT_HTML) |
---|