1 | ## Process this file with automake to produce Makefile.in |
---|
2 | ## |
---|
3 | ## $Id: Makefile.am 957 2007-10-09 20:07:24Z 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/trac/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 | doc: doxygen.config doxygen-local Statistics-local |
---|
28 | |
---|
29 | dvi-local: Statistics.dvi |
---|
30 | |
---|
31 | pdf-local: Statistics.pdf |
---|
32 | |
---|
33 | html-local: doxygen.config doxygen-local html/Statistics/Statistics.html |
---|
34 | |
---|
35 | mostlyclean-local: |
---|
36 | rm -rf *.toc *.log *.dvi *.aux *~ |
---|
37 | |
---|
38 | clean-local: |
---|
39 | rm -rf doxygen.config html latex Statistics.pdf |
---|
40 | |
---|
41 | doxygen-local: |
---|
42 | @if $(HAVE_DOXYGEN); then \ |
---|
43 | doxygen doxygen.config; \ |
---|
44 | fi |
---|
45 | |
---|
46 | doxygen.config: |
---|
47 | @sed -e 's/PROJECT_NUMBER.*= /&$(VERSION)/g' doxygen.config.in > doxygen.config |
---|
48 | |
---|
49 | |
---|
50 | html/Statistics/Statistics.html: Statistics.tex |
---|
51 | @$(install_sh) -d html/Statistics |
---|
52 | @if $(HAVE_LATEX2HTML); then \ |
---|
53 | latex2html -t "Weighted Statistics used in yat." \ |
---|
54 | --dir html/Statistics Statistics.tex;\ |
---|
55 | fi |
---|
56 | |
---|
57 | Statistics-local: html/Statistics/Statistics.html \ |
---|
58 | html/Statistics/Statistics.pdf |
---|
59 | |
---|
60 | Statistics.dvi: Statistics.tex |
---|
61 | @if $(HAVE_LATEX); then \ |
---|
62 | @latex Statistics.tex; \ |
---|
63 | @latex Statistics.tex; \ |
---|
64 | fi |
---|
65 | |
---|
66 | Statistics.pdf: Statistics.dvi |
---|
67 | @if $(HAVE_DVIPDFM); then \ |
---|
68 | dvipdfm Statistics.dvi; \ |
---|
69 | fi |
---|
70 | |
---|
71 | html/Statistics/Statistics.pdf: $(pdf) |
---|
72 | @if test -f Statistics.pdf; then \ |
---|
73 | $(install_sh) -d html/Statistics; \ |
---|
74 | cp Statistics.pdf html/Statistics/.; \ |
---|
75 | fi |
---|