summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Makefile.am11
-rw-r--r--doc/btmon.txt35
3 files changed, 47 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index d661ba9d9..1a7b41715 100644
--- a/.gitignore
+++ b/.gitignore
@@ -121,6 +121,8 @@ unit/test-avrcp
unit/test-*.log
unit/test-*.trs
+doc/btmon.1
+
android/system-emulator
android/bluetoothd
android/mcaptest
diff --git a/Makefile.am b/Makefile.am
index 4588ce840..2f05ceb9d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -367,10 +367,16 @@ if LIBRARY
pkgconfig_DATA = lib/bluez.pc
endif
+manual_pages = doc/btmon.1
+
+dist_man_MANS += $(manual_pages)
+
+EXTRA_DIST += $(manual_pages:.1=.txt)
+
DISTCHECK_CONFIGURE_FLAGS = --disable-datafiles --enable-library \
--disable-systemd --disable-udev
-DISTCLEANFILES = $(pkgconfig_DATA)
+DISTCLEANFILES = $(pkgconfig_DATA) $(manual_pages)
MAINTAINERCLEANFILES = Makefile.in \
aclocal.m4 configure config.h.in config.sub config.guess \
@@ -383,6 +389,9 @@ SED_PROCESS = $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \
%.service: %.service.in Makefile
$(SED_PROCESS)
+%.1: %.txt
+ $(AM_V_GEN)a2x --doctype manpage --format manpage $(srcdir)/$<
+
src/builtin.h: src/genbuiltin $(builtin_sources)
$(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@
diff --git a/doc/btmon.txt b/doc/btmon.txt
new file mode 100644
index 000000000..7a7fc537b
--- /dev/null
+++ b/doc/btmon.txt
@@ -0,0 +1,35 @@
+BTMON(1)
+========
+:doctype: manpage
+
+
+NAME
+----
+btmon - Bluetooth monitor
+
+
+SYNOPSIS
+--------
+*btmon* ['OPTIONS']
+
+
+DESCRIPTION
+-----------
+The btmon(1) command provides access to the Bluetooth subsystem monitor
+infrastructure for reading HCI traces.
+
+
+AUTHOR
+------
+btmon was originally written by Marcel Holtmann.
+
+
+RESOURCES
+---------
+See <http://www.bluez.org/>
+
+
+COPYING
+-------
+Free use of this software is granted under ther terms of the GNU Lesser
+General Public Licenses (LGPL).