[2] | 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. |
---|
| 24 | EXTRA_DIST = \ |
---|
| 25 | DocStructure.dox \ |
---|
| 26 | Doxyfile |
---|
| 27 | |
---|
| 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@ |
---|
| 33 | |
---|
| 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 "" |
---|
| 39 | |
---|
| 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 |
---|
| 47 | |
---|
| 48 | clean-local: |
---|
| 49 | rm -rf $(DOC_OUT_HTML) |
---|