On 08/19/2010 08:14 PM, Greg KH wrote:
usbhid-dump is fine with me if you like it.
OK, here is the patch then. I guess you know how to deal with submodules, but just in case: after applying the patch run "git submodule init" and "git submodule update" to pull usbhid-dump. You may also want to add a call to usbhid-dump's bootstrap script at the start of your autogen.sh. I think I'll release a new version soon and you will be able to use a tag instead of just master. Please don't hesitate to complain if you find anything wrong with my package. Thanks :) Sincerely, Nick
>From c07eb00bb2a997ca137b80f8d52b1a7533628757 Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov <spbnick@xxxxxxxxx> Date: Thu, 19 Aug 2010 23:07:38 +0400 Subject: [PATCH] Integrate usbhid-dump Add usbhid-dump as a submodule, integrate into the build with AC_CONFIG_SUBDIRS. Signed-off-by: Nikolai Kondrashov <spbnick@xxxxxxxxx> --- .gitmodules | 3 +++ Makefile.am | 3 +++ configure.ac | 1 + usbhid-dump | 1 + 4 files changed, 8 insertions(+), 0 deletions(-) create mode 100644 .gitmodules create mode 160000 usbhid-dump diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4f4a49f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "usbhid-dump"] + path = usbhid-dump + url = git://digimend.git.sourceforge.net/gitroot/digimend/usbhid-dump.git diff --git a/Makefile.am b/Makefile.am index 75f193e..1aaca26 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,6 @@ +SUBDIRS = \ + usbhid-dump + AM_LDFLAGS = \ -Wl,--as-needed diff --git a/configure.ac b/configure.ac index e0a714c..75a483c 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,7 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([ Makefile ]) +AC_CONFIG_SUBDIRS([usbhid-dump]) AC_OUTPUT AC_MSG_RESULT([ diff --git a/usbhid-dump b/usbhid-dump new file mode 160000 index 0000000..490ac2a --- /dev/null +++ b/usbhid-dump @@ -0,0 +1 @@ +Subproject commit 490ac2a5fc080ecc6daeef60117e65143013d4d1 -- 1.7.1