File: rules

package info (click to toggle)
tucnak2 2.48-2.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 10,084 kB
  • ctags: 6,055
  • sloc: ansic: 54,645; sh: 3,780; perl: 422; makefile: 257
file content (77 lines) | stat: -rwxr-xr-x 1,572 bytes parent folder | download | duplicates (2)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.

# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of adh-make.

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

clean:
	dh_testdir
	dh_auto_clean
	dh_clean
	rm -f config.log config.status

binary: binary-indep binary-arch

build: 
	dh_testdir
	dh_auto_configure
	dh_auto_build
	dh_auto_test

build: build-arch build-indep

build-arch: build-stamp

build-indep: build-stamp

build-stamp:
	dh_testdir
	dh_auto_configure
	dh_auto_build
	dh_auto_test 
binary-indep: build

binary-arch: build
#	dh_clean
	dh_testroot
	dh_prep
	dh_installdirs
	dh_auto_install
	dh_install
	dh_installdocs AUTHORS README NEWS TODO
	dh_installchangelogs ChangeLog
	dh_installman debian/tucnak2.1 debian/soundwrapper.1
	dh_installmenu
	dh_lintian
	cp share/pixmaps/tucnak2.xpm debian/tucnak2/usr/share/pixmaps
	dh_icons
	#dh_perl
	#dh_link usr/bin/tucnak usr/bin/tucnak2
	dh_link usr/share/man/man1/tucnak2.1.gz usr/share/man/man1/tucnak.1.gz
	dh_installudev --priority=60 tucnak2.rules
	dh_compress
	dh_fixperms
	dh_strip
#	dh_makeshlibs
	dh_shlibdeps
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb


install:
	install -s src/tucnak debian/tucnak2/usr/bin/tucnak2


checkroot:
	dh_testdir
	dh_testroot

.PHONY: binary build-arch build-indep build-indep clean checkroot