aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: e0eadcf11eae39ee41985ad74f12c35fd10f6b89 (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
# Makefile for linuxtv.org dvb-apps

VERSION := 1.1.0
PACKAGE := linuxtv-dvb-apps-$(VERSION)
CVSROOT := $(shell cat CVS/Root)
RELEASE_TAG := LINUXTV-DVB-$(subst .,_,$(subst -,_,$(VERSION)))

all:

release dist:
	rm -rf release-tmp $(PACKAGE).tar.gz
	mkdir release-tmp
	( cd release-tmp; cvs -d$(CVSROOT) export -r$(RELEASE_TAG) -d$(PACKAGE) dvb-apps )
	find release-tmp -name .cvsignore | xargs rm -v
	( cd release-tmp; tar cjf ../$(PACKAGE).tar.bz2 $(PACKAGE) )
	rm -rf release-tmp
	@echo
	@echo --------------------------------------------------------------------------------
	@echo
	@echo "dist package: ./$(PACKAGE).tar.bz2"
	@echo
	@echo --------------------------------------------------------------------------------
	@echo

%::
#	$(MAKE) -C libdvb2 $(MAKECMDGOALS)
	$(MAKE) -C util $(MAKECMDGOALS)
	$(MAKE) -C test $(MAKECMDGOALS)