blob: 62b909525fa8cb3a0df124e89bbaacecb7df3fd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
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),)
EDITOR := vi
else
EDITOR := $(VISUAL)
endif
endif
all:
install:
$(MAKE) -C $(BUILD_DIR) install
%::
$(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
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 ..
v4l/scripts/prepare-ChangeLog.pl
$(EDITOR) v4l/ChangeLog
whitespace:
@v4l/scripts/strip-trailing-whitespaces.sh | patch -p0
|