File: rules

package info (click to toggle)
k3b 22.12.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 55,016 kB
  • sloc: cpp: 99,541; xml: 322; sh: 84; makefile: 9
file content (20 lines) | stat: -rwxr-xr-x 523 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
# lots of deprecation warnings, so disable them for now
export DEB_CXXFLAGS_MAINT_APPEND = -Wno-deprecated -Wno-deprecated-declarations

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -Skf5 -- -DK3B_ENABLE_HAL_SUPPORT=OFF

execute_after_dh_install-indep:
	# duplicated English documentation, only in k3b-data
	rm -rfv debian/k3b-i18n/usr/share/doc/HTML/en/

.PHONY: override_dh_dwz