File: rules

package info (click to toggle)
bugreporter-udeb 1.02
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 252 kB
  • ctags: 10
  • sloc: sh: 125; makefile: 48
file content (54 lines) | stat: -rwxr-xr-x 1,199 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 2003 by Petter Reinholdtsen

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

INSTALL      = install -m0755

PACKAGE=bugreporter-udeb

build:
# Nothing to do.

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp
	$(MAKE) clean
	dh_clean

install-common: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_installdirs

install-bugreporter-udeb: install-common
	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)

	# Install it after 93save-install-log to make sure
	# /var/log/debian-installer/ exist, and before 95umount
	# to make sure it is still mounted.
	$(INSTALL) debian/$(PACKAGE).prebaseconfig debian/$(PACKAGE)/usr/lib/prebaseconfig.d/94$(PACKAGE)

# Build architecture-independent files here.
binary-indep: install bugreporter-udeb

bugreporter-udeb: install-bugreporter-udeb
	dh_testdir 
	dh_testroot 
	dh_installdebconf 
	dh_strip 
	dh_compress 
	dh_fixperms 
	dh_installdeb 
	dh_gencontrol 
	dh_builddeb 

# Build architecture-dependent files here.
binary-arch: build install

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