Imported Upstream version 3.2.2
[debian/gnuradio] / docs / doxygen / 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 dist_gr_doc_DATA =                      \
27         $(top_srcdir)/README            \
28         $(top_srcdir)/README.hacking
29
30 all-local: prep @generate_docs@
31 doc: docs            # alias
32
33 docs: prep html/index.html
34 html/index.html:
35         @DOXYGEN@
36
37 prep:
38         $(MKDIR_P) html
39         $(MKDIR_P) xml
40
41 install-data-local:
42         $(MKDIR_P) $(DESTDIR)$(gr_docdir)
43         cp -r html $(DESTDIR)$(gr_docdir)
44         cp -r xml $(DESTDIR)$(gr_docdir)
45
46 uninstall-local:
47         $(RM) -fr $(DESTDIR)$(gr_docdir)/html
48         $(RM) -fr $(DESTDIR)$(gr_docdir)/xml
49
50 clean-local:
51         $(RM) -fr latex html man xml