File: rules

package info (click to toggle)
opensc 0.27.0~rc1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,848 kB
  • sloc: ansic: 184,915; xml: 6,535; sh: 2,766; makefile: 1,035; cpp: 382; lex: 92
file content (29 lines) | stat: -rwxr-xr-x 622 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
24
25
26
27
28
29
#!/usr/bin/make -f

# Should be removed on updating to version > 0.25.1
export DEB_CFLAGS_MAINT_APPEND = -Wno-error

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-autostart-items \
		--enable-pcsc \
		--enable-doc \
		--enable-dnie-ui \
		--enable-notify \
		--enable-readline \
		--enable-sm \
		--enable-zlib \
		--htmldir=/usr/share/doc/opensc/html

override_dh_auto_build:
	# sort in writing bash-completion files is locale-sensitive
	LC_ALL=C dh_auto_build

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp

override_dh_installdocs:
	dh_installdocs -A README README.md NEWS