File:  [DVB] / dvb-kernel / Makefile
Revision 1.1: download - view: text, annotated - select for diffs
Tue Jan 20 10:42:13 2004 UTC (20 years, 4 months ago) by js
Branches: MAIN
CVS tags: HEAD
add top level Makefile based on the one supplied by Niklas Peinecke
(defaults to build-2.4/ for now)

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

DIR-2_4 := ./build-2.4

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-kernel )
	find release-tmp -name .cvsignore | xargs rm -v
	( cd release-tmp; tar czf ../$(PACKAGE).tar.gz $(PACKAGE) )
	rm -rf release-tmp
	@echo
	@echo --------------------------------------------------------------------------------
	@echo
	@echo "driver package: ./$(PACKAGE).tar.gz"
	@echo
	@echo --------------------------------------------------------------------------------
	@echo

%::
	$(MAKE) -C $(DIR-2_4) $(MAKECMDGOALS)

LinuxTV legacy CVS <linuxtv.org/cvs>