File: rules

package info (click to toggle)
gnome-disk-utility 43.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 15,384 kB
  • sloc: ansic: 20,724; xml: 242; sh: 85; makefile: 8
file content (14 lines) | stat: -rwxr-xr-x 466 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

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

%:
	dh $@

# when building for Ubuntu, move menu entry from Apps → System Tools
# (which Ubuntu tries to avoid) to System → Administration.
ifeq ($(shell dpkg-vendor --query vendor),Ubuntu)
execute_after_dh_install:
	sed -i '/^Categories=/ s/$$/Settings;HardwareSettings;/' debian/gnome-disk-utility/usr/share/applications/*.desktop
endif