2 # Copyright 2004,2005,2007 Free Software Foundation, Inc.
4 # This file is part of GNU Radio
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)
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.
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.
22 TARGETS = howto-write-a-block.html
24 # To avoid build problems for folks who don't have xmlto installed, we
25 # don't build the docs by default.
33 howto-write-a-block.xml \
35 make_numbered_listing.py \
37 src_lib_Makefile_1.am \
44 howto_square_ff.cc.xml \
45 howto_square_ff.h.xml \
46 howto_square2_ff.cc.xml \
47 howto_square2_ff.h.xml \
49 src_lib_Makefile_1.am.xml \
50 src_lib_Makefile_2.am.xml
53 howto-write-a-block.html : howto-write-a-block.xml $(BUILT_XML_FILES)
56 gr_block.h.xml: $(GNURADIO_CORE_INCLUDEDIR)/gr_block.h make_numbered_listing.py
57 $(PYTHON) ./make_numbered_listing.py $(GNURADIO_CORE_INCLUDEDIR)/gr_block.h
59 howto_square_ff.cc.xml: $(top_srcdir)/src/lib/howto_square_ff.cc make_numbered_listing.py
60 $(PYTHON) ./make_numbered_listing.py $(top_srcdir)/src/lib/howto_square_ff.cc
62 howto_square_ff.h.xml: $(top_srcdir)/src/lib/howto_square_ff.h make_numbered_listing.py
63 $(PYTHON) ./make_numbered_listing.py $(top_srcdir)/src/lib/howto_square_ff.h
65 howto_square2_ff.cc.xml: $(top_srcdir)/src/lib/howto_square2_ff.cc make_numbered_listing.py
66 $(PYTHON) ./make_numbered_listing.py $(top_srcdir)/src/lib/howto_square2_ff.cc
68 howto_square2_ff.h.xml: $(top_srcdir)/src/lib/howto_square2_ff.h make_numbered_listing.py
69 $(PYTHON) ./make_numbered_listing.py $(top_srcdir)/src/lib/howto_square2_ff.h
72 # ----------------------------------------------------------------
75 -${RM} -f $(TARGETS) $(BUILT_XML_FILES)
78 xmlto html-nochunks $<
80 %.xml : % make_numbered_listing.py
81 $(PYTHON) ./make_numbered_listing.py $<