File: rules

package info (click to toggle)
lxdm 0.5.3-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,244 kB
  • sloc: sh: 8,543; ansic: 7,150; makefile: 208
file content (27 lines) | stat: -rwxr-xr-x 584 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_BUILD_MAINT_OPTIONS = hardening=+all

# Rename config file
config_file = /etc/lxdm/default.conf
CFLAGS+=-DCONFIG_FILE=\"$(config_file)\"

%:
	dh ${@}

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr \
		--bindir=/usr/bin \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/lxdm \
		--enable-gtk3 \
		--with-pam

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/lxdm

override_dh_installinit:
	dh_installinit --no-start -- defaults 30 01

override_dh_installsystemd:
	dh_installsystemd -plxdm --no-start -r lxdm.service