summaryrefslogtreecommitdiff
path: root/Makefile
blob: fd3a4c48037bfdd2524ed3a6b3ac9f2f561801d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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:
	cd $(BUILD_DIR); scripts/cardlist; cd ..
	cvs update
	cd $(BUILD_DIR); scripts/prepare-ChangeLog.pl; cd ..
	$(EDITOR) v4l/ChangeLog