File: rules

package info (click to toggle)
update-inetd 4.44
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 196 kB
  • ctags: 58
  • sloc: perl: 463; python: 232; makefile: 40; sh: 5
file content (50 lines) | stat: -rwxr-xr-x 841 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
#!/usr/bin/make -f
SHELL+= -e

D := $(CURDIR)/debian/update-inetd

ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
TESTS_TARGET = check
else
TESTS_TARGET =
endif

clean:
	dh_testdir
	dh_testroot
	debconf-updatepo
	dh_clean

build-arch: build
build-indep: build
build:

check:
	dh_testdir
	dh_testroot
	python tests.py

binary-indep: $(TESTS_TARGET)
	dh_testdir
	dh_testroot
	dh_prep
	dh_installdirs usr/share/perl5/ usr/sbin/
	install -o root -g root -m 0644 DebianNet.pm $D/usr/share/perl5/
	install -o root -g root -m 0755 update-inetd $D/usr/sbin/
	dh_installchangelogs
	dh_installdocs
	dh_installdebconf
	dh_installman DebianNet.3pm update-inetd.8
	dh_lintian
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary-arch:

binary: binary-indep

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