2006-08-03 04:51:51 +00:00
|
|
|
#
|
2009-02-26 23:39:17 +00:00
|
|
|
# Copyright 2001,2005,2009 Free Software Foundation, Inc.
|
2006-08-03 04:51:51 +00:00
|
|
|
#
|
|
|
|
# This file is part of GNU Radio
|
|
|
|
#
|
|
|
|
# GNU Radio is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2007-07-21 03:44:38 +00:00
|
|
|
# the Free Software Foundation; either version 3, or (at your option)
|
2006-08-03 04:51:51 +00:00
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# GNU Radio is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with GNU Radio; see the file COPYING. If not, write to
|
2006-09-13 21:30:04 +00:00
|
|
|
# the Free Software Foundation, Inc., 51 Franklin Street,
|
|
|
|
# Boston, MA 02110-1301, USA.
|
2006-08-03 04:51:51 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.common
|
|
|
|
|
|
|
|
|
|
|
|
SUBDIRS = other
|
|
|
|
|
|
|
|
man3dir = $(mandir)/man3
|
2009-10-13 20:07:19 +00:00
|
|
|
usrp_docdir = $(prefix)/share/doc/usrp-$(DOCVER)
|
2006-08-03 04:51:51 +00:00
|
|
|
|
2010-11-25 01:29:11 +00:00
|
|
|
EXTRA_DIST += \
|
2006-08-03 04:51:51 +00:00
|
|
|
Doxyfile.in \
|
|
|
|
ddc.eps \
|
|
|
|
ddc.png \
|
|
|
|
usrp-block-diagram.eps \
|
|
|
|
usrp-block-diagram.png \
|
|
|
|
usrp.jpg \
|
|
|
|
usrp_guide.xml
|
|
|
|
|
|
|
|
if HAS_XMLTO
|
|
|
|
DOCBOOK_HTML_FILES=usrp_guide.html
|
|
|
|
all-local: dox docbook-html
|
|
|
|
else
|
|
|
|
DOCBOOK_HTML_FILES=
|
|
|
|
all-local: dox
|
|
|
|
endif
|
|
|
|
|
2018-01-21 00:30:14 +00:00
|
|
|
dist_usrp_doc_DATA = $(top_srcdir)/README
|
2009-02-26 23:39:17 +00:00
|
|
|
|
2006-08-03 04:51:51 +00:00
|
|
|
dox: html/index.html
|
|
|
|
html/index.html:
|
2009-02-26 23:39:17 +00:00
|
|
|
$(MKDIR_P) html
|
2006-08-03 04:51:51 +00:00
|
|
|
@DOXYGEN@
|
|
|
|
|
|
|
|
docbook-html: usrp_guide.html
|
|
|
|
|
|
|
|
usrp_guide.html: usrp_guide.xml
|
2018-01-21 00:30:14 +00:00
|
|
|
xmlto html-nochunks $(top_srcdir)/doc/usrp_guide.xml
|
2006-08-03 04:51:51 +00:00
|
|
|
|
|
|
|
install-data-local:
|
2009-02-26 23:39:17 +00:00
|
|
|
$(MKDIR_P) $(DESTDIR)$(usrp_docdir)/html
|
2006-08-03 04:51:51 +00:00
|
|
|
@for i in $(DOCBOOK_HTML_FILES); do \
|
2009-02-26 23:39:17 +00:00
|
|
|
echo "$(INSTALL_DATA) $$i $(DESTDIR)$(usrp_docdir)/html"; \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(usrp_docdir)/html; \
|
2006-08-03 04:51:51 +00:00
|
|
|
done
|
2009-02-26 23:39:17 +00:00
|
|
|
cp -r html $(DESTDIR)$(usrp_docdir)
|
2006-08-03 04:51:51 +00:00
|
|
|
|
|
|
|
uninstall-local:
|
2009-02-26 23:39:17 +00:00
|
|
|
$(RM) -fr $(DESTDIR)$(usrp_docdir)/html
|
2006-08-03 04:51:51 +00:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
$(RM) -fr latex html man xml $(DOCBOOK_HTML_FILES)
|