File: rules

package info (click to toggle)
mt-st 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: ansic: 1,647; makefile: 106; sh: 16
file content (23 lines) | stat: -rwxr-xr-x 504 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
#!/usr/bin/make -f

export DEB_BUILD_HARDENING=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DESTDIR = $(CURDIR)/debian/mt-st

%:
	dh $@ --with bash-completion

override_dh_auto_install:
	install -m 644 debian/stinit.def $(DESTDIR)/etc/
	install mt $(DESTDIR)/usr/bin/mt-st
	install stinit $(DESTDIR)/usr/sbin/

override_dh_installman:
	cp mt.1 debian/mt-st.1
	dh_installman
	rm debian/mt-st.1

# Default make test doesn't work due to default tape device.
override_dh_auto_test:
	TAPE= dh_auto_test