aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:41 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:41 +0200
commitab959d7b4194715870128e616b8e29d4a101e488 (patch)
tree61a746231d30817be73416a7d67763fd677a1042 /Makefile
parent6b350466c4902c5b137e0efaf1d189128a7f18f5 (diff)
downloadlinux-dvb-apps-upstream/1.1.1+rev1207.tar.gz
Imported Upstream version 1.1.1+rev1207upstream/1.1.1+rev1207
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile32
1 files changed, 8 insertions, 24 deletions
diff --git a/Makefile b/Makefile
index e0eadcf..0ca84b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,12 @@
# 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)))
+.PHONY: all clean install update
-all:
+all clean install:
+ $(MAKE) -C lib $@
+ $(MAKE) -C test $@
+ $(MAKE) -C util $@
-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)
+update:
+ @echo "Pulling changes & updating from master repository"
+ hg pull -u