source: trunk/doc/Makefile.am @ 1209

Last change on this file since 1209 was 1209, checked in by Peter, 14 years ago

fixes #331

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1209 2008-03-06 00:32:35Z 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 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
27if HAVE_DOXYGEN
28
29doc: doxygen.config FORCE
30  @doxygen doxygen.config
31
32# these are supported by automake and *-local will add target to *
33dvi-local: latex-local
34
35ps-local: latex-local
36
37pdf-local: latex-local
38
39html-local: doxygen_html.config FORCE
40  @doxygen doxygen_html.config;
41
42# this is not supported by automake - there is no target latex
43latex-local: doxygen_latex.config FORCE
44  @doxygen doxygen_latex.config
45
46
47doxygen.config: doxygen.config.in
48  $(SED) -e 's/PROJECT_NUMBER.*= /&$(VERSION)/g' doxygen.config.in > doxygen.config
49
50doxygen_html.config: doxygen.config
51  $(SED) -e 's/GENERATE_LATEX.*= /&no/g' doxygen.config > doxygen_html.config
52
53doxygen_latex.config: doxygen.config
54  $(SED) -e 's/GENERATE_HTML.*= /&no/g' doxygen.config > doxygen_latex.config
55
56endif
57
58mostlyclean-local:
59  rm -rf *.toc *.log *.dvi *.aux *~
60
61clean-local:
62  rm -rf doxygen*.config html latex
63
64FORCE:
Note: See TracBrowser for help on using the repository browser.