File: rules

package info (click to toggle)
ptyxis 48.4-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 4,972 kB
  • sloc: ansic: 25,089; xml: 360; python: 20; makefile: 17; sh: 10
file content (24 lines) | stat: -rwxr-xr-x 614 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

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

%:
	dh $@

# Use Terminal branding instead of Ptyxis for Ubuntu
override_dh_auto_configure:
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
	dh_auto_configure -- -Dgeneric=terminal
else
	dh_auto_configure
endif

execute_before_dh_installgsettings:
ifeq (yes,$(shell dpkg-vendor --derives-from Ubuntu && echo yes))
	cp debian/gsettings-override.Ubuntu debian/gsettings-override
else
	cp debian/gsettings-override.in debian/gsettings-override
endif

override_dh_gnome_clean: