File: rules

package info (click to toggle)
finish-install 2.100
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 500 kB
  • sloc: sh: 319; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 438 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /usr/bin/make -f
%:
	dh $@

DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)

# The default console configuration shipped by sysvinit is enough
# on s390(x). Hence the console setup script should not be installed
# there but everywhere else.
override_dh_install:
	dh_install
	@if [ "$(DEB_HOST_ARCH)" = "s390" -o "$(DEB_HOST_ARCH)" = "s390x" ]; then \
		rm -v debian/finish-install/usr/lib/finish-install.d/90console; \
	fi