source: trunk/doc/Makefile.am @ 1211

Last change on this file since 1211 was 1211, checked in by Peter, 16 years ago

minor changes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1211 2008-03-06 19:51:46Z 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
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 Makefile
48  @$(ECHO) '# doxygen.config generated from doxygen.config.in.' > $@;
49  @$(SED) -e 's/PROJECT_NUMBER.*= /&$(VERSION)/g' doxygen.config.in >> $@
50
51doxygen_html.config: doxygen.config Makefile
52  @$(ECHO) '# doxygen_html.config generated from doxygen.config.in.' > $@;
53  @$(SED) -e 's/GENERATE_LATEX.*= /&no/g' doxygen.config >> $@
54
55doxygen_latex.config: doxygen.config Makefile
56  @$(ECHO) '# doxygen_latex.config generated from doxygen.config.in.' > $@;
57  @$(SED) -e 's/GENERATE_HTML.*= /&no/g' doxygen.config >> $@
58
59endif
60
61mostlyclean-local:
62  rm -rf *.toc *.log *.dvi *.aux *~
63
64clean-local:
65  rm -rf doxygen*.config html latex
66
67FORCE:
Note: See TracBrowser for help on using the repository browser.