corrections to write ESD format (Gaute)
[u/mrichter/AliRoot.git] / HLT / doc / Makefile.am
CommitLineData
b521659f 1# $Id$
2# Makefile template for the Alice HLT documentation
3#
4#***********************************************************************
5#
6# Alice HLT project
7# Copyright (c) 2005
8#
9# This file is property of and copyright by the Experimental Nuclear
10# Physics Group, Dep. of Physics and Technology
11# University of Bergen, Norway, 2004
12# This file has been written by Matthias Richter,
13# Matthias.Richter@ift.uib.no
14#
15# Permission to use, copy, modify and distribute this software and its
16# documentation strictly for non-commercial purposes is hereby granted
17# without fee, provided that the above copyright notice appears in all
18# copies and that both the copyright notice and this permission notice
19# appear in the supporting documentation. The authors make no claims
20# about the suitability of this software for any purpose. It is
21# provided "as is" without express or implied warranty.
22#
23# You should have received a copy of the GNU Lesser General Public
24# License along with this library; if not, write to the Free
25# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
26# MA 02111-1307 USA
27#
28#***********************************************************************/
29
85869391 30EXTRA_DIST = mainpage.c \
31 pics/HLT-AliRoot-Integration_overview.png \
32 pics/HLT-AliRoot-Integration_overview.eps \
33 pics/HLT-AliRoot-Integration_overview.png \
34 pics/HLT-AliRoot-Integration_overview.eps \
35 pics/PubSub_WrapperComponent.png
b521659f 36
37DISTCLEANFILES = doxy.log $(PACKAGE).tags
38if HAVE_DOXYGEN
b22e91eb 39HTML = html/index.html
40#PDF = latex/refman.pdf
b521659f 41TAGS = $(PACKAGE).tags
42else
43HTML =
44TAGS =
45endif
46
b22e91eb 47SECTION_FILTER = Directory File
48CLASS_FILTER = structAliHLTRawBuffer \
49 classAliHLTDataBuffer \
50 structAliHLTDataSegment \
51 TObject \
52 structAliHLTComponentEnvironment
53
b521659f 54%.png:%.fig
55 fig2dev -Lpng $<
56
b22e91eb 57all-local:$(HTML) $(PDF)
b521659f 58
59
60clean-local:
61 rm -rf *~ html latex man
62
b22e91eb 63html/index.html $(PACKAGE).tags: doxygen.conf Makefile mainpage.c
b521659f 64 $(DOXYGEN) $<
b521659f 65
66tar-ball:$(HTML)
67 if test -f html/index.html ; then \
68 mv html $(PACKAGE) ; \
69 tar -czvf ../$(PACKAGE)-$(VERSION)-doc.tar.gz $(PACKAGE) ; \
70 mv $(PACKAGE) html ; fi
71
b22e91eb 72$(PDF:.pdf=.tex_): $(PDF:.pdf=.tex)
73 cat $< \
74 $(foreach i, $(SECTION_FILTER), \
75 | sed -e '/$i Documentation/,/section/ { /input/d}' \
76 | sed -e '/$i Documentation/ d' \
77 ) \
78 $(foreach i, $(CLASS_FILTER), \
79 | sed -e '/input{$i}/d' \
80 ) \
81 > $@
82 cp -a $@ $<
b521659f 83
b22e91eb 84$(PDF): latex/Makefile $(PDF:.pdf=.tex_)
85 @(cd latex && $(MAKE))
b521659f 86#
87# EOF
88#