blob: ed97ad254961e0560a9ff994281b4bed0486020f (
plain)
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
78
79
80
81
82
83
84
85
|
#!/usr/bin/make -f
export DH_VERBOSE = 1
unpack: unpack-stamp
unpack-stamp:
dh_testdir
dh_illumos_gate --build \
usr/src/cmd/boot/Makefile.com \
usr/src/cmd/boot/Makefile.targ \
usr/src/cmd/boot/bootadm \
usr/src/cmd/boot/scripts/boot-archive-update.\* \
usr/src/cmd/svc/milestone/boot-archive \
usr/src/cmd/svc/milestone/boot-archive.xml \
usr/src/man/man1m/bootadm.1m \
# Buggy and unused:
echo > usr/src/Makefile.msg.targ
# Use GNU ld, see also the bootadm-use-gnu-ld.patch patch
sed -i '/LD_ALTEXEC/d' usr/env.sh
touch $@
patch: patch-stamp
patch-stamp: unpack-stamp
dh_testdir
[ ! -f debian/patches/series ] || QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
touch $@
unpatch:
dh_testdir
[ ! -f debian/patches/series ] || QUILT_PATCHES=debian/patches quilt pop -a -f || test $$? = 2
rm -f patch-stamp
dirs-stamp: unpack-stamp
. usr/env.sh; mkdir -p \
debian/tmp/lib/svc/method \
debian/tmp/sbin \
debian/tmp/usr/sbin
touch $@
install build build-arch build-indep: build-stamp
build-stamp: dirs-stamp patch-stamp
dh_illumos_make --native usr/src/cmd/boot/bootadm
mkdir -p debian/tmp/lib/svc/method \
debian/tmp/lib/svc/manifest/system
cp usr/src/cmd/boot/scripts/boot-archive-update.ksh \
debian/tmp/lib/svc/method/boot-archive-update
cp usr/src/cmd/boot/scripts/boot-archive-update.xml \
debian/tmp/lib/svc/manifest/system/boot-archive-update.xml
cp usr/src/cmd/svc/milestone/boot-archive \
debian/tmp/lib/svc/method/boot-archive
cp usr/src/cmd/svc/milestone/boot-archive.xml \
debian/tmp/lib/svc/manifest/system/boot-archive.xml
touch $@
binary binary-arch binary-indep: binary-stamp
binary-stamp: build-stamp
dh_testdir
dh_testroot
dh_installdirs
dh_install
dh_installman
dh_installdocs
dh_installexamples
dh_installchangelogs
dh_bash-completion
dh_link
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_strip
dh_gencontrol
dh_md5sums
dh_builddeb
touch $@
clean: unpatch
dh_testdir
dh_testroot
rm -rf usr .pc
dh_clean
|