]> git.gag.com Git - debian/gnuradio/blob - gnuradio-core/doc/Makefile.am
5bbd3c0cc311dc908655a1be2897b9bd52239896
[debian/gnuradio] / gnuradio-core / doc / Makefile.am
1 #
2 # Copyright 2001,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 SUBDIRS = other xml-swig
25
26 all-local: prep @generate_docs@
27 doc: docs            # alias
28
29 docs: prep html/index.html
30 html/index.html:
31         @DOXYGEN@
32
33 prep:
34         $(MKDIR_P) html
35         $(MKDIR_P) xml
36
37 install-data-local:
38         $(MKDIR_P) $(DESTDIR)$(gr_docdir)
39         cp -r html $(DESTDIR)$(gr_docdir)
40         cp -r xml $(DESTDIR)$(gr_docdir)
41
42 uninstall-local:
43         $(RM) -fr $(DESTDIR)$(gr_docdir)/html
44         $(RM) -fr $(DESTDIR)$(gr_docdir)/xml
45
46 clean-local:
47         $(RM) -fr latex html man xml