summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/languages/python/obsolete/legacy-debconf/build-spec/debian/rules
blob: 933901ac5fde77823278b7a3697eb41d35774ac5 (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
#!/usr/bin/make -f

deb_dir		=	debian/debconf
udeb_dir	=	debian/debconf-udeb
build_dirs	=	$(deb_dir) $(udeb_dir)

build-indep:
# There are no architecture-independent files to be built
# by this package.  If there were any they would be made
# here.

build-arch:
	dh_testdir
	touch build

build: build-indep build-arch

clean:
	dh_testdir
	dh_testroot
	-rm -f build

	dh_clean

binary-indep:	build
# There are no architecture-independent files to be uploaded
# generated by this package.  If there were any they would be
# made here.

binary-arch:	build
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs -a

	dh_installchangelogs -a
	dh_installdocs -a
	dh_installdebconf -pdebconf-test
	dh_installdebconf -pdebconf-test-noscripts --noscripts
	dh_installdebconf -pdebconf-test-preinst --noscripts
	dh_installdebconf -pdebconf-test-postinst --noscripts
	dh_installdebconf -pdebconf-udeb




	dh_compress -a
	dh_fixperms -a

# The shlibs stuff doesn't matter here so do it in a weird order to
# test warnings.
	dh_installdeb -a
	dh_shlibdeps -a
	dh_makeshlibs -a
	dh_gencontrol -a
	dh_md5sums
	dh_builddeb -a
	dh_makeshlibs -a

# Below here is fairly generic really

binary:		binary-indep binary-arch

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