File: rules

package info (click to toggle)
gnome-power-manager 3.30.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,768 kB
  • sloc: ansic: 2,709; xml: 55; makefile: 38; sh: 12
file content (13 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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_installdocs:
	dh_installdocs
	mkdir -p debian/gnome-power-manager/usr/share/doc/gnome-power-manager
	appstream-util appdata-to-news $(CURDIR)/*/data/*/org.gnome.PowerStats.appdata.xml \
		> debian/gnome-power-manager/usr/share/doc/gnome-power-manager/NEWS