File: rules

package info (click to toggle)
remmina 1.4.11%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,572 kB
  • sloc: ansic: 36,772; python: 139; xml: 103; javascript: 84; sh: 73; cpp: 55; makefile: 24
file content (33 lines) | stat: -rwxr-xr-x 713 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
#!/usr/bin/make -f

include /usr/share/dpkg/vendor.mk

# hardening
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

ifeq ($(DEB_VENDOR),Debian)
	SETNEWS = OFF
else
	SETNEWS = ON
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-DWITH_KF5WALLET=ON \
		-DWITH_KIOSK_SESSION=ON \
		-DWITH_NEWS=$(SETNEWS)

override_dh_install:
	dh_install
	cd po; intltool-update --pot --verbose -g remmina
	[ -d debian/remmina-common ] && \
		find $(CURDIR)/debian/remmina-common -name "*remmina.desktop" -delete && \
		find $(CURDIR)/debian/remmina-common -name "*remmina.1" -delete && \
		find $(CURDIR)/debian/remmina-common -type d -empty -delete || true

override_dh_clean:
	-rm po/remmina.pot
	dh_clean