File: rules

package info (click to toggle)
gnome-disk-utility 46.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,344 kB
  • sloc: ansic: 20,447; xml: 240; sh: 93; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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

override_dh_gnome_clean: