Merged anastas/wip changes r3156:3218 into trunk.
[debian/gnuradio] / gr-trellis / doc / Makefile.am
1 #
2 # Copyright 2004,2005 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 2, 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., 59 Temple Place - Suite 330,
19 # Boston, MA 02111-1307, USA.
20
21
22 TARGETS = gr-trellis.html
23
24
25 # To avoid build problems for folks who don't have xmlto installed, we
26 # don't build the docs by default.
27
28 # html: $(TARGETS)
29 all: $(TARGETS)
30
31
32 EXTRA_DIST =                            
33
34
35 BUILT_XML_FILES =                       
36
37
38 gr-trellis.html : gr-trellis.xml $(BUILT_XML_FILES)
39
40
41
42 # ----------------------------------------------------------------
43
44 clean:
45         -rm -f $(TARGETS) $(BUILT_XML_FILES)
46
47 %.html : %.xml
48         xmlto html-nochunks $<
49
50 %.xml : % make_numbered_listing.py
51         ./make_numbered_listing.py $<