Imported Upstream version 3.2.2
[debian/gnuradio] / gr-trellis / doc / Makefile.am
1 #
2 # Copyright 2004,2005,2009 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
6 # GNU Radio is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10
11 # GNU Radio is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with GNU Radio; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20
21
22 include $(top_srcdir)/Makefile.common
23
24 HTML_FILES =
25
26 if HAS_XMLTO
27 HTML_FILES += \
28     gr-trellis.html
29 endif
30
31 all: $(HTML_FILES)
32
33 EXTRA_DIST = \
34     gr-trellis.xml \
35     make_numbered_listing.py \
36     test_tcm.py \
37     test_tcm.py.xml \
38     test_viterbi_equalization1.py \
39     test_viterbi_equalization1.py.xml
40
41 BUILT_XML_FILES =                       
42
43 htmldocdir = $(gr_docdir)/html
44 htmldoc_DATA = $(HTML_FILES)
45
46 # ----------------------------------------------------------------
47
48 gr-trellis.html : gr-trellis.xml
49         xmlto html-nochunks $(top_srcdir)/gr-trellis/doc/gr-trellis.xml
50
51 test_tcm.py.xml : test_tcm.py make_numbered_listing.py
52         $(srcdir)/make_numbered_listing.py $<
53
54 test_viterbi_equalization1.py.xml : test_viterbi_equalization1.py make_numbered_listing.py
55         $(srcdir)/make_numbered_listing.py $<
56
57 clean-local:
58         $(RM) -fr $(HTML_FILES) *~