## Process this file with automake to produce Makefile.in
##
## $Id: Makefile.am 831 2007-03-27 13:22:09Z peter $
# Copyright (C) 2003 Jari Häkkinen
# Copyright (C) 2005 Peter Johansson
# Copyright (C) 2006 Jari Häkkinen, Peter Johansson
# Copyright (C) 2007 Peter Johansson
#
# This file is part of the yat library, http://lev.thep.lu.se/trac/yat
#
# The yat library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# The yat library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
doc: doxygen.config doxygen-local Statistics-local
clean-local:
rm -rf doxygen.config html-$(VERSION) latex-$(VERSION) \
*.toc *.log *.dvi *.aux *~
doxygen-local:
doxygen doxygen.config
doxygen.config: doxygen.config.in
@sed -e 's/PROJECT_NUMBER.*= /&$(VERSION)/g' -e 's/HTML_OUTPUT.*= /&html-$(VERSION)/g' -e 's/LATEX_OUTPUT.*= /&latex-$(VERSION)/g' doxygen.config.in > doxygen.config
html-$(VERSION)/Statistics: Statistics.tex
latex2html Statistics.tex
@mv Statistics html-$(VERSION)/.
Statistics-local: html-$(VERSION)/Statistics \
html-$(VERSION)/Statistics/Statistics.pdf
Statistics.dvi: Statistics.tex
@latex Statistics.tex
@latex Statistics.tex
Statistics.pdf: Statistics.dvi
@dvipdfm Statistics.dvi
html-$(VERSION)/Statistics/Statistics.pdf: Statistics.pdf
@cp Statistics.pdf html-$(VERSION)/Statistics/.