]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - HLT/doc/Makefile.am
corrections to write ESD format (Gaute)
[u/mrichter/AliRoot.git] / HLT / doc / Makefile.am
... / ...
CommitLineData
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
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
36
37DISTCLEANFILES = doxy.log $(PACKAGE).tags
38if HAVE_DOXYGEN
39HTML = html/index.html
40#PDF = latex/refman.pdf
41TAGS = $(PACKAGE).tags
42else
43HTML =
44TAGS =
45endif
46
47SECTION_FILTER = Directory File
48CLASS_FILTER = structAliHLTRawBuffer \
49 classAliHLTDataBuffer \
50 structAliHLTDataSegment \
51 TObject \
52 structAliHLTComponentEnvironment
53
54%.png:%.fig
55 fig2dev -Lpng $<
56
57all-local:$(HTML) $(PDF)
58
59
60clean-local:
61 rm -rf *~ html latex man
62
63html/index.html $(PACKAGE).tags: doxygen.conf Makefile mainpage.c
64 $(DOXYGEN) $<
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
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 $@ $<
83
84$(PDF): latex/Makefile $(PDF:.pdf=.tex_)
85 @(cd latex && $(MAKE))
86#
87# EOF
88#