File: rules

package info (click to toggle)
partman-ext2r0 1.27
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 852 kB
  • sloc: sh: 483; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#! /usr/bin/make -f
%:
	dh $@ --with d-i

ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)

# list all sub-architectures which need this package (space separated)
ifeq ($(ARCH),arm)
SUBARCH=netwinder
endif
ifeq ($(ARCH),mipsel)
SUBARCH=cobalt
endif

override_dh_gencontrol:
	dh_gencontrol -- -Vsubarch='$(SUBARCH)'