File: rules

package info (click to toggle)
cifs-utils 2:6.8-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,724 kB
  • sloc: ansic: 5,860; sh: 4,131; makefile: 102
file content (23 lines) | stat: -rwxr-xr-x 709 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

%:
	dh $@ --with=autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --enable-cifsidmap --enable-cifscreds --with-libcap-ng=auto --enable-pam --with-pamdir=/lib/$(DEB_HOST_MULTIARCH)/security

override_dh_auto_install-indep:
override_dh_auto_install-arch:
	dh_auto_install
	sed -e 's/__DEB_HOST_MULTIARCH__/$(DEB_HOST_MULTIARCH)/g' <debian/postinst.in > debian/postinst
	sed -e 's/__DEB_HOST_MULTIARCH__/$(DEB_HOST_MULTIARCH)/g' <debian/prerm.in > debian/prerm

override_dh_fixperms:
	dh_fixperms
	chmod u+s debian/cifs-utils/sbin/mount.cifs

override_dh_auto_clean-indep:
override_dh_auto_clean-arch:
	rm -f debian/postinst debian/prerm