File: rules

package info (click to toggle)
mblaze 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 792 kB
  • sloc: ansic: 8,391; sh: 1,870; ruby: 128; awk: 22; makefile: 17
file content (25 lines) | stat: -rwxr-xr-x 708 bytes parent folder | download | duplicates (2)
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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_install:
	dh_auto_install -- PREFIX=/usr

override_dh_auto_test:
	: # Testsuite is currently broken under sbuild

override_dh_install:
	mv debian/mblaze/usr/bin/mless              debian/mblaze/usr/bin/mblaze-less
	mv debian/mblaze/usr/share/man/man1/mless.1 debian/mblaze/usr/share/man/man1/mblaze-less.1
	mv debian/mblaze/usr/bin/msort              debian/mblaze/usr/bin/mblaze-sort
	mv debian/mblaze/usr/share/man/man1/msort.1 debian/mblaze/usr/share/man/man1/mblaze-sort.1
	dh_install

override_dh_installchangelogs:
	dh_installchangelogs NEWS.md

override_dh_installdocs:
	dh_installdocs --link-doc=mblaze