File: rules

package info (click to toggle)
qxw 20200708-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,172 kB
  • sloc: ansic: 11,130; makefile: 60; xml: 23
file content (23 lines) | stat: -rwxr-xr-x 679 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

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -std=gnu17

%:
	dh  $@

# To help ensure `appstreamcli --validate-tree` is successful for an unpacked
# binary package, we need to ensure that both the appdata.xml and .desktop
# files are named using the same RDNS scheme
#
# Tip: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1086181#106
#
execute_after_dh_auto_install:
	mv -v debian/qxw/usr/share/applications/qxw.desktop \
		debian/qxw/usr/share/applications/com.quinapalus.qxw.desktop

override_dh_installchangelogs:
	dh_installchangelogs -k changelog.gz