File: rules

package info (click to toggle)
sisu 0.48.8-7
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,568 kB
  • ctags: 3,722
  • sloc: ruby: 42,736; xml: 563; lisp: 59; makefile: 30
file content (39 lines) | stat: -rwxr-xr-x 711 bytes parent folder | download
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
#!/usr/bin/make -f
#export DH_VERBOSE=1

build:

clean:
	dh_testdir
	dh_testroot
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs
	# Installing lintian overrides
	for lintian in debian/lintian/*; \
	do \
		install -D -m 644 $$lintian debian/`basename $$lintian`/usr/share/lintian/overrides/`basename $$lintian` || exit 1; \
	done

binary-arch: build install

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs
	dh_installdocs
	dh_installman
	dh_install
	dh_compress -X.rb -X.sst -X.ssm -X.ssi 
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

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