summaryrefslogtreecommitdiff
path: root/lightdm-webkit2-greeter/debian/rules
blob: b79930793e24286d82a7d886b849ea2042cb3a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DESTROOT=$(CURDIR)/debian/lightdm-webkit2-greeter
export CONFIG_FILE=$(DESTROOT)/etc/lightdm/lightdm-webkit2-greeter.conf

override_dh_auto_configure:
	cd build && meson --prefix=/usr ..

override_dh_auto_install:
	cd build && ninja && export DESTDIR=$(DESTROOT) && ninja install
	sed -i 's|lightdm-webkit/themes/antergos/img/antergos.png|help/C/ubuntu-help/figures/ubuntu-logo.png|g' $(CONFIG_FILE)
	sed -i 's|lightdm-webkit/themes/antergos/img/antergos-logo-user.png|pixmaps/faces/sunset.jpg|g' $(CONFIG_FILE)

	dh_auto_install

%:
	dh $@

override_dh_auto_clean:
	dh_auto_clean
	rm -rf src/gresource/js/bundle.js build/.ninja_* build/meson-* build/man build/build.ninja \
		build/compile_commands.json build/data build/src build/themes build/po
bgstack15