Makefile.am 1.79 KB
Newer Older
1
2
3
4
5
## Copyright (C) 2010 Laboratoire de Recherche et Dveloppement de
## l'Epita (LRDE).
## Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris
## 6 (LIP6), dpartement Systmes Rpartis Coopratifs (SRC),
## Universit Pierre et Marie Curie.
Alexandre Duret-Lutz's avatar
Alexandre Duret-Lutz committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
##
## This file is part of Spot, a model checking library.
##
## Spot 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.
##
## Spot 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 Spot; see the file COPYING.  If not, write to the Free
## Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
## 02111-1307, USA.

24
25
DOXYGEN = doxygen

26
.PHONY: doc fast-doc
27

28
all-local: $(srcdir)/stamp
29

30
doc:
31
	-rm -f $(srcdir)/stamp
32
	$(MAKE) $(srcdir)/stamp
33

34
35
36
37
38
fast-doc:
	$(MAKE) Doxyfile
	$(DOXYGEN)
	touch $(srcdir)/stamp

39
40
$(srcdir)/stamp: $(srcdir)/Doxyfile.in $(top_srcdir)/configure.ac
	$(MAKE) Doxyfile dot
41
	-rm -rf spot.html spot.latex
42
	$(DOXYGEN)
43
	touch $@
44

45
$(srcdir)/spot.html $(srcdir)/spot.tag: $(srcdir)/stamp
46
spot.latex: $(srcdir)/stamp
47

48
$(srcdir)/spotref.pdf: $(srcdir)/stamp
49
	cd spot.latex \
50
51
52
	  && texi2dvi --pdf refman.tex \
	  && cd .. && mv -f spot.latex/refman.pdf $@

53
54
55
56
# spot.tag is useful to third-party packages that must link to the
# Spot documentation.
dist_pkgdata_DATA = $(srcdir)/spot.tag

57
58
59
60
61
62
EXTRA_DIST = \
  footer.html \
  mainpage.dox \
  $(srcdir)/stamp \
  $(srcdir)/spot.html \
  $(srcdir)/spotref.pdf