File: rules

package info (click to toggle)
partman-partitioning 108
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,688 kB
  • ctags: 23
  • sloc: sh: 1,199; makefile: 18
file content (24 lines) | stat: -rwxr-xr-x 514 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#! /usr/bin/make -f
%:
	dh $@ --with d-i

ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)

# Add ntfs-3g-udeb for arches that have recent versions of Windows.
# Perhaps this should be in partman-basicfilesystems instead ...
FS_DEPENDS=
ifeq ($(ARCH), i386)
FS_DEPENDS=ntfs-3g-udeb
endif
ifeq ($(ARCH), amd64)
FS_DEPENDS=ntfs-3g-udeb
endif
ifeq ($(ARCH), ia64)
FS_DEPENDS=ntfs-3g-udeb
endif
ifeq ($(ARCH), alpha)
FS_DEPENDS=ntfs-3g-udeb
endif

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