File: rules

package info (click to toggle)
pinentry 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,048 kB
  • sloc: ansic: 7,309; sh: 6,531; cpp: 4,167; makefile: 271; python: 38
file content (35 lines) | stat: -rwxr-xr-x 940 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
30
31
32
33
34
35
#!/usr/bin/make -f

QT_SELECT = qt5
export QT_SELECT
SHARED_CONFIGS = --disable-rpath --without-libcap --disable-pinentry-emacs --disable-inside-emacs --enable-fallback-curses --disable-pinentry-tqt
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --builddirectory=build-no-libsecret -- \
		$(SHARED_CONFIGS) --disable-libsecret \
		--enable-pinentry-tty \
		--enable-pinentry-curses \
		--enable-pinentry-qt \
		--enable-pinentry-fltk \
		--disable-pinentry-gtk2 \
		--disable-pinentry-gnome3
	dh_auto_configure -- $(SHARED_CONFIGS) \
		--disable-pinentry-tty \
		--disable-pinentry-curses \
		--disable-pinentry-qt \
		--disable-pinentry-fltk \
		--enable-pinentry-gtk2 \
		--enable-pinentry-gnome3

override_dh_auto_build:
	dh_auto_build --builddirectory=build-no-libsecret
	dh_auto_build

override_dh_installdocs:
	dh_installdocs -A NEWS AUTHORS

LDFLAGS += -Wl,--as-needed