File: rules

package info (click to toggle)
slick-greeter 2.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,412 kB
  • sloc: xml: 164; python: 107; makefile: 19; sh: 5
file content (27 lines) | stat: -rwxr-xr-x 649 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
25
26
27
#!/usr/bin/make -f

export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DH_VERBOSE = 1

ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
	SUBSTVARSREC = -Vdist:Recommends="desktop-base"
else
	SUBSTVARSREC = -Vdist:Recommends="lightdm-settings"
endif


%:
	dh $@ --without=autoreconf --buildsystem=meson

override_dh_missing:
	dh_missing --fail-missing

override_dh_gencontrol:
	dh_gencontrol -- $(SUBSTVARSREC)

override_dh_auto_install:
	dh_auto_install
ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
	dh_install debian/15_slick-greeter.gschema.override /usr/share/glib-2.0/schemas/
endif