File: rules

package info (click to toggle)
gnome-color-manager 3.30.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 8,448 kB
  • sloc: ansic: 10,191; python: 127; cpp: 55; xml: 17; makefile: 13; sh: 11
file content (19 lines) | stat: -rwxr-xr-x 587 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed

%:
	dh $@ --with gnome

override_dh_auto_configure:
	dh_auto_configure -- --libexecdir=/usr/lib/gnome-color-manager

override_dh_auto_test:
	xvfb-run -a dh_auto_test

override_dh_installdocs:
	dh_installdocs
	mkdir -p debian/gnome-color-manager/usr/share/doc/gnome-color-manager
	appstream-util appdata-to-news $(CURDIR)/*/data/appdata/org.gnome.ColorProfileViewer.appdata.xml \
	> debian/gnome-color-manager/usr/share/doc/gnome-color-manager/NEWS