File: rules

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

ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
ifneq (, $(filter $(ARCH),arm armeb armel armhf))
DEPENDS=devio-udeb
endif

override_dh_auto_test:
	cd tests && ./runtests

override_dh_gencontrol:
	dh_gencontrol -- -Vdepends='$(DEPENDS)'