File: rules

package info (click to toggle)
unixcw 3.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,564 kB
  • sloc: ansic: 20,921; sh: 4,365; cpp: 1,629; awk: 293; makefile: 269
file content (18 lines) | stat: -rwxr-xr-x 540 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# Select a qt version. (Closes: #922664)
export QT_SELECT=qt5

# Enable hardening; updated 2021-01, dh compat 13.
# https://wiki.debian.org/HardeningWalkthrough#debhelper_9
export DEB_CFLAGS_MAINT_APPEND = -Wall -std=gnu99
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@


# Manually install the xcwcp icon for now (3.6.0 circa 2021-10).
execute_after_dh_auto_install:
	mkdir -p debian/tmp/usr/share/icons/hicolor/scalable/apps/
	cp icon_unixcw.svg  debian/tmp/usr/share/icons/hicolor/scalable/apps/xcwcp.svg