File: rules

package info (click to toggle)
w1retap 1.4.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,340 kB
  • sloc: ansic: 41,617; sh: 12,702; ruby: 2,688; javascript: 291; sql: 259; makefile: 235; xml: 57; perl: 52
file content (25 lines) | stat: -rwxr-xr-x 758 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f
#DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--disable-new-dtags -Wl,--allow-multiple-definition

override_dh_auto_build:
	dh_auto_build
	a2x --doctype=manpage --format manpage --verbose $(CURDIR)/debian/w1find.1.txt
	a2x --doctype=manpage --format manpage --verbose $(CURDIR)/debian/w1retap.1.txt
	a2x --doctype=manpage --format manpage --verbose $(CURDIR)/debian/w1sensors.1.txt

override_dh_auto_install:
	dh_auto_install
	install -D -o root -g root -m 755 docs/w1sensors.rb debian/tmp/usr/bin/w1sensors

override_dh_makeshlibs:
	dh_makeshlibs --noscripts

override_dh_installsystemd:
	dh_installsystemd --no-enable --no-start

%:
	dh $@