1 | ## Process this file with automake to produce Makefile.in |
---|
2 | ## |
---|
3 | ## $Id: Makefile.am 1225 2008-03-12 21:36:45Z peter $ |
---|
4 | |
---|
5 | # Copyright (C) 2003 Jari Häkkinen |
---|
6 | # Copyright (C) 2005 Peter Johansson |
---|
7 | # Copyright (C) 2006 Jari Häkkinen, Peter Johansson |
---|
8 | # Copyright (C) 2007 2008 Peter Johansson |
---|
9 | # |
---|
10 | # This file is part of the yat library, http://trac.thep.lu.se/yat |
---|
11 | # |
---|
12 | # The yat library is free software; you can redistribute it and/or |
---|
13 | # modify it under the terms of the GNU General Public License as |
---|
14 | # published by the Free Software Foundation; either version 2 of the |
---|
15 | # License, or (at your option) any later version. |
---|
16 | # |
---|
17 | # The yat library is distributed in the hope that it will be useful, |
---|
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
20 | # General Public License for more details. |
---|
21 | # |
---|
22 | # You should have received a copy of the GNU General Public License |
---|
23 | # along with this program; if not, write to the Free Software |
---|
24 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
---|
25 | # 02111-1307, USA. |
---|
26 | |
---|
27 | if HAVE_DOXYGEN |
---|
28 | |
---|
29 | doc: doxygen.config FORCE |
---|
30 | @doxygen doxygen.config |
---|
31 | |
---|
32 | # these are supported by automake and *-local will add target to * |
---|
33 | dvi-local: latex-local |
---|
34 | |
---|
35 | ps-local: latex-local |
---|
36 | |
---|
37 | pdf-local: latex-local |
---|
38 | |
---|
39 | html-local: doxygen.config FORCE |
---|
40 | (cat doxygen.config; $(ECHO) GENERATE_LATEX = NO) | doxygen -; |
---|
41 | |
---|
42 | # this is not supported by automake - there is no target latex |
---|
43 | latex-local: doxygen.config FORCE |
---|
44 | @(cat doxygen.config; $(ECHO) GENERATE_HTML = NO) | doxygen -; |
---|
45 | |
---|
46 | |
---|
47 | endif |
---|
48 | |
---|
49 | mostlyclean-local: |
---|
50 | rm -rf *.toc *.log *.dvi *.aux *~ |
---|
51 | |
---|
52 | clean-local: |
---|
53 | rm -rf doxygen*.config html latex |
---|
54 | |
---|
55 | FORCE: |
---|