File: rules

package info (click to toggle)
libu2f-host 1.1.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,816 kB
  • sloc: sh: 4,508; ansic: 4,481; makefile: 135; xml: 28
file content (23 lines) | stat: -rwxr-xr-x 482 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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

ALL_PACKAGES := $(shell dh_listpackages)
ifneq (,$(filter libu2f-host-doc,$(ALL_PACKAGES)))
SWITCH_GTK_DOC := enable
else
SWITCH_GTK_DOC := disable
endif

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-silent-rules \
		--with-udevrulesdir=/lib/udev/rules.d \
		--$(SWITCH_GTK_DOC)-gtk-doc \
		--$(SWITCH_GTK_DOC)-gtk-doc-html

override_dh_installchangelogs:
	dh_installchangelogs NEWS