summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-10-09 03:35:25 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-10-09 03:35:25 +0000
commit993b84b81732121fd8953d0fb4429415290efba9 (patch)
tree0bf63d6379571d23fc02a9fb7f914c87e42218bc /Makefile
parentc098f8ca61f12016b00af9a0a54a5b9d4ec25e7f (diff)
downloadmediapointer-dvb-s2-993b84b81732121fd8953d0fb4429415290efba9.tar.gz
mediapointer-dvb-s2-993b84b81732121fd8953d0fb4429415290efba9.tar.bz2
From: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
* ../Make - created make changelog to make easier to generate patches. * ../linux/drivers/media/video/cx88/cx88-core.c: * ../linux/drivers/media/video/cx88/cx88.h: * ../linux/kernel/drivers/usb/media/em2820-core.c: * ../linux/kernel/drivers/usb/media/em2820-i2c.c: * ../linux/kernel/drivers/usb/media/em2820-video.c: * ../linux/kernel/drivers/usb/media/em2820.h: - removed unneccessary includes. * ../v4l/scripts/prepare-ChangeLog.pl: - Modified to avoid detecting ChangeLog as a change. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ff2040bd0..7f945ed3a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,13 @@
BUILD_DIR := $(shell pwd)/v4l
+ifeq ($(EDITOR),)
+ ifeq ($(VISUAL),)
+ EDITOR := vi
+ else
+ EDITOR := $(VISUAL)
+ endif
+endif
+
all:
install:
@@ -7,3 +15,8 @@ install:
%::
$(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
+
+changelog:
+ cvs update
+ cd $(BUILD_DIR); scripts/prepare-ChangeLog.pl; cd ..
+ $(EDITOR) v4l/ChangeLog