File: rules

package info (click to toggle)
acct 6.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,252 kB
  • sloc: ansic: 15,840; sh: 11,359; cpp: 290; makefile: 142
file content (27 lines) | stat: -rwxr-xr-x 563 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
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -f config.log

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--mandir=\$${prefix}/share/man \
		--infodir=\$${prefix}/share/info \
		$(NULL)

override_dh_auto_build:
	dh_auto_build
	$(MAKE) info
	$(MAKE) html

override_dh_auto_install:
	dh_auto_install --destdir=$(CURDIR)/debian/tmp

	# Removing last, it's in the sysvinit package instead.
	rm -f debian/tmp/usr/bin/last
	rm -f debian/tmp/usr/share/man/man1/last.1