File: Makefile

package info (click to toggle)
linuxtv-dvb-apps 1.1.1+rev1500-1.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,644 kB
  • ctags: 6,793
  • sloc: ansic: 49,003; makefile: 785; perl: 236; sh: 110; xml: 13
file content (19 lines) | stat: -rw-r--r-- 491 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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:
	$(MAKE) -C lib $@
	$(MAKE) -C test $@
	$(MAKE) -C util $@
	$(MAKE) -C man $@

update:
	@echo "Pulling changes & updating from master repository"
	hg pull -u