From 5501530a778ad588a8ccd3f1584ea58f74c0cec9 Mon Sep 17 00:00:00 2001 From: etobi Date: Tue, 3 Sep 2013 09:48:52 +0200 Subject: Imported Upstream version 1.1.1+rev1483 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0ca84b0..65a2273 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ # Makefile for linuxtv.org dvb-apps +# get DVB API version +VERSION_FILE := "/usr/include/linux/dvb/version.h" + +DVB_API_MAJOR := $(word 3, $(shell grep -m1 "DVB_API_VERSION" $(VERSION_FILE)) ) +DVB_API_MINOR := $(word 3, $(shell grep -m1 "DVB_API_VERSION_MINOR" $(VERSION_FILE)) ) + .PHONY: all clean install update all clean install: -- cgit v1.2.3