summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-08-16 10:24:21 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-08-16 10:24:21 -0300
commit4f97ebf2c76b8763da9f57e7ad6d1457fc97a2bd (patch)
tree3b589dddf7f7f04abdcdcf773e69a2a3dde0a1a6 /Makefile
parent2020c904cc51965234736bfabc7769532a532fad (diff)
downloadmediapointer-dvb-s2-4f97ebf2c76b8763da9f57e7ad6d1457fc97a2bd.tar.gz
mediapointer-dvb-s2-4f97ebf2c76b8763da9f57e7ad6d1457fc97a2bd.tar.bz2
Properly handles commit messages with date: field
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch allows a better support for third party patches. Now, it will properly recognize and proccess messages with the following format: Date: <some date> From: <some developer> Subject: <patch subject> <body> This will help to better proccess messages received via email. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 1 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index f5bc79999..a1e609f0e 100644
--- a/Makefile
+++ b/Makefile
@@ -19,18 +19,7 @@ install:
$(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
commit cvscommit hgcommit change changes changelog:: whitespace
- @cd $(BUILD_DIR); scripts/cardlist; cd ..
- @v4l/scripts/prep_commit_msg.pl $(TMP)/v4l_hg_whitespace > \
- $(TMP)/v4l_hg_commit.msg
- @CHECKSUM=`md5sum "$(TMP)/v4l_hg_commit.msg"`; \
- $(EDITOR) $(TMP)/v4l_hg_commit.msg || exit $?; \
- echo "$$CHECKSUM" | md5sum -c --status && \
- echo "*** commit message not changed. Aborting. ***" \
- && exit 13 || exit 0
- $(BUILD_DIR)/scripts/hghead.pl $(TMP)/v4l_hg_commit.msg | grep -v '^#' | hg commit -l -
- @echo "*** PLEASE CHECK IF LOG IS OK:"
- @hg log -v -r -1
- @echo "*** If not ok, do \"hg rollback\" and \"make commit\" again"
+ @cd $(BUILD_DIR); scripts/cardlist; scripts/do_commit.sh $(EDITOR) $(TMP)/v4l_hg_whitespace; cd ..
qrefresh: Q=q
qrefresh:: whitespace