diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-01-28 14:13:12 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-01-28 14:13:12 -0200 |
commit | 73480875596fc17625c910f133b015bf514ac725 (patch) | |
tree | 1b12a9f8d46588252fd727148942a542af2d4ed9 /Makefile | |
parent | f8fc072964e55fe2525046b45b899b838a979f6e (diff) | |
download | mediapointer-dvb-s2-73480875596fc17625c910f133b015bf514ac725.tar.gz mediapointer-dvb-s2-73480875596fc17625c910f133b015bf514ac725.tar.bz2 |
Several fixes for using with mercurial
From: Mauro Carvalho Chehab <mchehab@infradead.org>
cvs commands replaced to hg
created a new script to help commiting
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -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 |