source: trunk/doc/Makefile.am @ 1255

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

replacing with

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
RevLine 
[5]1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1255 2008-04-04 13:57:54Z peter $
4
[831]5# Copyright (C) 2003 Jari Häkkinen
6# Copyright (C) 2005 Peter Johansson
7# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
[1211]8# Copyright (C) 2007 2008 Peter Johansson
[675]9#
[1000]10# This file is part of the yat library, http://trac.thep.lu.se/yat
[675]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
[1209]27if HAVE_DOXYGEN
[799]28
[1254]29doc: html dvi ps pdf
[957]30
[1209]31# these are supported by automake and *-local will add target to *
[1255]32dvi-local: $(PACKAGE).dvi
33ps-local: $(PACKAGE).ps
34pdf-local: $(PACKAGE).pdf
[957]35
[1254]36html-local: doxygen.config
37  @(cat doxygen.config; $(ECHO) GENERATE_HTML = YES) | doxygen -;
[957]38
[1254]39# this is not supported by automake - there is no target latex
40latex-local: doxygen.config
41  @(cat doxygen.config; $(ECHO) GENERATE_LATEX = YES) | doxygen -;
[957]42
[1255]43$(PACKAGE).dvi: latex-local
[1254]44  cd latex && latex refman.tex && latex refman.tex
[1255]45  cp latex/refman.dvi $(PACKAGE).dvi
[5]46
[1255]47$(PACKAGE).ps: $(PACKAGE).dvi
48  dvips latex/refman.dvi -o $(PACKAGE).ps
[489]49
[1209]50
[1255]51$(PACKAGE).pdf: latex-local
[1254]52  cd latex && $(MAKE) pdf;
[1255]53  cp latex/refman.pdf $(PACKAGE).pdf
[1209]54endif
55
56mostlyclean-local:
[1255]57  rm -f $(PACKAGE).dvi *~
[1209]58
59clean-local:
[1255]60  rm -rf doxygen.config html latex $(PACKAGE).dvi \
61  $(PACKAGE).ps $(PACKAGE).pdf
[1209]62
63FORCE:
Note: See TracBrowser for help on using the repository browser.