]>
Commit | Line | Data |
---|---|---|
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 | ||
30 | EXTRA_DIST = mainpage.c | |
31 | ||
32 | DISTCLEANFILES = doxy.log $(PACKAGE).tags | |
33 | if HAVE_DOXYGEN | |
34 | HTML = html/index.html | |
35 | TAGS = $(PACKAGE).tags | |
36 | else | |
37 | HTML = | |
38 | TAGS = | |
39 | endif | |
40 | ||
41 | %.png:%.fig | |
42 | fig2dev -Lpng $< | |
43 | ||
44 | all-local:$(HTML) | |
45 | ||
46 | ||
47 | clean-local: | |
48 | rm -rf *~ html latex man | |
49 | ||
50 | html/index.html $(PACKAGE).tags: doxygen.conf mainpage.c | |
51 | $(DOXYGEN) $< | |
52 | for i in `find @srcdir@ -name '*.png'`; do cp -f $$i html/pic_`basename $$i`; done | |
53 | ||
54 | tar-ball:$(HTML) | |
55 | if test -f html/index.html ; then \ | |
56 | mv html $(PACKAGE) ; \ | |
57 | tar -czvf ../$(PACKAGE)-$(VERSION)-doc.tar.gz $(PACKAGE) ; \ | |
58 | mv $(PACKAGE) html ; fi | |
59 | ||
60 | ||
61 | # | |
62 | # EOF | |
63 | # |