[gnome-lirc-properties] Add an easy way to generate a patch for lirc remotes



commit 1c8201f0534683ec8879b92b7ee8f0f6c2756fbb
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 26 18:43:27 2010 +0100

    Add an easy way to generate a patch for lirc remotes

 bin/Makefile.am |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/bin/Makefile.am b/bin/Makefile.am
index dcb2de0..3cbdc7d 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -5,6 +5,15 @@ lirc_fixup_keys_SOURCES = lirc-fixup-keys.c
 lirc_fixup_keys_CFLAGS = $(GLIB_CFLAGS)
 lirc_fixup_keys_LDADD = $(GLIB_LIBS)
 
+lirc-fixup-upstream: lirc-fixup-keys nns_full.txt
+	if test -d lirc; then \
+		rm -rf lirc; \
+	fi
+	cvs -z8 -d:pserver:anonymous lirc cvs sourceforge net:/cvsroot/lirc co lirc
+	cd lirc && git init && git add --ignore-errors . && git commit -m "lirc snapshot"
+	./lirc-fixup-keys nns_full.txt lirc/remotes/
+	cd lirc && git diff > ../lirc-fixup-keys.patch
+
 EXTRA_DIST =					\
 	lirc-receiver-list			\
 	todo-list				\



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]