File: rules

package info (click to toggle)
apt-setup 1%3A0.151~deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,524 kB
  • sloc: sh: 1,166; makefile: 12
file content (16 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make -f
%:
	dh $@

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

ifeq ($(DEB_HOST_ARCH),x32)
MULTIARCH := amd64
else
MULTIARCH :=
endif

override_dh_installdebconf-arch:
	dh_installdebconf
	sed -i 's/@MULTIARCH@/$(MULTIARCH)/' \
		debian/apt-setup-udeb/DEBIAN/templates