summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 15 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 150ad99be..62b909525 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
BUILD_DIR := $(shell pwd)/v4l
+REPO_PULL := http://linuxtv.org/hg/v4l-dvb
+REPO_PUSH := ssh://linuxtv.org/hg/v4l-dvb
ifeq ($(EDITOR),)
ifeq ($(VISUAL),)
@@ -16,9 +18,20 @@ install:
%::
$(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
-changelog:: whitespace
+commit cvscommit hgcommit::
+ v4l/scripts/prep_commit_msg.pl v4l/ChangeLog >/tmp/v4l_hg_commit.msg
+ $(EDITOR) /tmp/v4l_hg_commit.msg
+ grep -v ^# /tmp/v4l_hg_commit.msg | hg commit -l -
+
+pull update v4l-update::
+ -hg pull $(REPO_PULL)
+ hg checkout
+
+push:: commit
+ -hg push $(REPO_PUSH)
+
+change changes changelog:: whitespace update
cd $(BUILD_DIR); scripts/cardlist; cd ..
- cvs update
v4l/scripts/prepare-ChangeLog.pl
$(EDITOR) v4l/ChangeLog