aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:38 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:38 +0200
commit6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d (patch)
tree024bef311226653bdd1da4fa588becf5098bcff7 /Makefile
downloadlinux-dvb-apps-6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d.tar.gz
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e0eadcf
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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)