blob: 64fef441d7b9428172918b345fdfad1d11fc52a0 (
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
|
BUILD_DIR := $(shell pwd)/v4l
ifeq ($(EDITOR),)
ifeq ($(VISUAL),)
EDITOR := vi
else
EDITOR := $(VISUAL)
endif
endif
all:
install:
$(MAKE) -C $(BUILD_DIR) install
%::
$(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
changelog:: whitespace
cd $(BUILD_DIR); scripts/cardlist; cd ..
cvs update
cd $(BUILD_DIR); scripts/prepare-ChangeLog.pl; cd ..
$(EDITOR) v4l/ChangeLog
whitespace:
@v4l/scripts/strip-trailing-whitespaces.sh | patch -p0
|