summaryrefslogtreecommitdiff
path: root/debian/rules
blob: e6b79b6c310793a9c9fd092ba92f5d5eff71aad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f

build/libwebvi0:: build/python-webvi
build/vdr-plugin-webvideo:: build/libwebvi0

DEB_PYTHON_SYSTEM := pycentral
DEB_PYTHON_MODULE_PACKAGES := python-webvi

# debhelper must be included before python-distutils
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/class/python-distutils.mk

DEB_MAKE_BUILD_TARGET := all
DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp/ PREFIX=/usr VDRPLUGINCONFDIR=/var/lib/vdr/plugins
DEB_MAKE_CHECK_TARGET =

DEB_INSTALL_CHANGELOGS_ALL = HISTORY

#DEB_DH_STRIP_ARGS = -Xlibvdr-webvideo -Xlibwebvi

TXT2MANPAGES = debian/webvi.1

$(TXT2MANPAGES): %.1: %.1.txt
	cat $< | grep -v "^###" | \
	eval "`cat $< | grep "^### txt2man" | sed "s/### //"`" >$@

common-build-indep:: $(TXT2MANPAGES)

cleanbuilddir::
	$(MAKE) -o .dependencies clean
	rm -f $(TXT2MANPAGES)

common-binary-predeb-arch::
	sh /usr/share/vdr-dev/dependencies.sh