diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2019-03-18 16:22:31 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2019-03-18 16:22:31 -0700 |
commit | 34033b09a85ed4a8c695ccfd8bf10d719f2bc9a0 (patch) | |
tree | 5c1b0088825cd28781949eeb985d9e942d7587e1 | |
parent | a58bcb3fee3200f76d6b5c7e2614ffe90424f946 (diff) | |
download | fido2-ctap-gadget-34033b09a85ed4a8c695ccfd8bf10d719f2bc9a0.tar.gz |
hidgd: add man page
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 5 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | hidgd.1.in | 6 |
4 files changed, 14 insertions, 0 deletions
@@ -2,6 +2,7 @@ *.lo *.o *~ +*.1 .deps .libs configure diff --git a/Makefile.am b/Makefile.am index 8372f19..bc3e28b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,12 @@ bin_PROGRAMS=fido hidgd +man1_MANS=hidgd.1 + fido_SOURCES=fido.c hidgd_SOURCES=hidgd.c u2f.h u2f_hid.h AM_CFLAGS=-Wall -Werror + +$(builddir)/%.1: $(srcdir)/%.1.in $(top_builddir)/% + $(HELP2MAN) --no-info -i $< -o $@ $(top_builddir)/$* diff --git a/configure.ac b/configure.ac index 4e750eb..9d1512a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,8 @@ AC_INIT(fido2-ctap-gadget, 0.0.1, <James.Bottomley@HansenPartnership.com>) AM_INIT_AUTOMAKE([foreign 1.6]) +AC_CHECK_PROGS([HELP2MAN], [help2man]) + AC_PROG_CC_STDC AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE diff --git a/hidgd.1.in b/hidgd.1.in new file mode 100644 index 0000000..13a451a --- /dev/null +++ b/hidgd.1.in @@ -0,0 +1,6 @@ +[name] +hidgd - hid gadget daemon + +[description] + +Handles the hidg end of a FIDO2 device |