File: rules

package info (click to toggle)
mt-st 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 276 kB
  • sloc: ansic: 1,612; makefile: 96; sh: 18; lisp: 2
file content (19 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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)/bin/mt-st
	install stinit $(DESTDIR)/sbin/

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