File: rules

package info (click to toggle)
vbetool 1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 792 kB
  • sloc: sh: 3,497; ansic: 1,221; makefile: 27
file content (24 lines) | stat: -rwxr-xr-x 477 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

MANDIR=debian/vbetool/usr/share/man

include /usr/share/dpkg/architecture.mk
ifeq ($(DEB_HOST_ARCH), $(findstring $(DEB_HOST_ARCH),i386 lpia))
	EMU =
else
	EMU = --with-x86emu
endif

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(EMU)

override_dh_installman:
	dh_installman
	mkdir $(MANDIR)/man8
	mv $(MANDIR)/man1/vbetool.1 $(MANDIR)/man8/vbetool.8
	rm -rf $(MANDIR)/man1