File: rules

package info (click to toggle)
partman-partitioning 91
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,820 kB
  • sloc: sh: 1,233; makefile: 24
file content (29 lines) | stat: -rwxr-xr-x 584 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
25
26
27
28
29
#! /usr/bin/make -f
%:
	dh $@ --with d-i

ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)

# Add ntfsprogs-udeb for arches that have recent versions of windows.
FS_DEPENDS=
ifeq ($(ARCH), i386)
FS_DEPENDS=ntfsprogs-udeb
endif
ifeq ($(ARCH), amd64)
FS_DEPENDS=ntfsprogs-udeb
endif
ifeq ($(ARCH), ia64)
FS_DEPENDS=ntfsprogs-udeb
endif
ifeq ($(ARCH), alpha)
FS_DEPENDS=ntfsprogs-udeb
endif
ifeq ($(ARCH), kfreebsd-i386)
FS_DEPENDS=ntfsprogs-udeb
endif
ifeq ($(ARCH), kfreebsd-amd64)
FS_DEPENDS=ntfsprogs-udeb
endif

override_dh_gencontrol:
	dh_gencontrol -- -Vfs:Depends="$(FS_DEPENDS)"