Project

General

Profile

Feature #316 ยป rules.patch

patch for debian/rules - Lars Op den Kamp -, 2010-10-26 20:45

View differences:

debian/rules 2010-10-26 20:38:06.969720608 +0200
1 1
#!/usr/bin/make -f
2 2

3
# Uncomment this to turn on verbose mode.
4
#export DH_VERBOSE=1
5

3 6
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
4 7

5
config.mak: configure
6
	dh_testdir
7
	./configure --release --prefix=/usr
8
%:
9
	dh [email protected]
8 10

9
clean:  
11
override_dh_clean:
10 12
	dh_testdir
11 13
	dh_testroot
12 14
	rm -rf build.*
13
	dh_clean 
15
	dh_clean
14 16

17
override_dh_auto_clean:
18
	dh_clean
15 19

16
build: config.mak
20
override_dh_auto_configure:
21
	dh_testdir
22
	./configure --release --prefix=/usr
23

24
override_dh_auto_build:
17 25
	$(MAKE)
18 26

19
binary:
20
	dh_testdir
21
	dh_testroot
22
	dh_installdirs
23
	dh_install
27
override_dh_install:
24 28
	$(MAKE) prefix=$(CURDIR)/debian/hts-tvheadend/usr install
25
	dh_installchangelogs 
26
	dh_installinit --name tvheadend
27
	dh_installdocs
28
	dh_installdebconf
29
	dh_link
30
	dh_strip
31
	dh_compress 
32
	dh_fixperms
33
	dh_makeshlibs
34
	dh_installdeb
35
	dh_shlibdeps
36
	dh_gencontrol
37
	dh_md5sums
38
	dh_builddeb
29

30
override_dh_installinit:
31
	dh_installinit --name tvheadend	
    (1-1/1)