summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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