File: rules

package info (click to toggle)
partman-auto 41
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 664 kB
  • ctags: 13
  • sloc: sh: 646; makefile: 42
file content (56 lines) | stat: -rwxr-xr-x 1,343 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
55
56
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

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

PACKAGE = partman-auto

build:
# Ye olde no-op.

clean:
	dh_testdir
	dh_testroot
	rm -f `find . -name '*~'`
	dh_clean

install: build
	dh_testdir
	dh_testroot
	dh_clean -k
	dh_install autopartition bin
	dh_install perform_recipe bin
	dh_install recipes.sh lib/partman
	debian/install-rc recipes
	debian/install-rc recipes-alpha
	debian/install-rc recipes-arm-netwinder
	debian/install-rc recipes-hppa
	debian/install-rc recipes-ia64
	debian/install-rc recipes-mips-sb1-swarm-bn
	debian/install-rc recipes-mipsel-sb1-swarm-bn
	debian/install-rc recipes-mipsel-cobalt
	debian/install-rc recipes-powerpc-powermac_newworld
	debian/install-rc recipes-powerpc-chrp_rs6k
	debian/install-rc recipes-sparc
	debian/install-rc choose_partition
	debian/install-rc free_space
	debian/install-rc automatically_partition
	debian/install-rc init.d
	rm -rf `find debian/$(PACKAGE) -name CVS`
	rm -rf `find debian/$(PACKAGE) -name .svn`

binary-indep: build install
	dh_testdir
	dh_testroot
	dh_installdebconf -n
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_builddeb

binary-arch: build install

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