diff options
Diffstat (limited to 'lightdm-webkit2-greeter/debian/rules')
-rwxr-xr-x | lightdm-webkit2-greeter/debian/rules | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lightdm-webkit2-greeter/debian/rules b/lightdm-webkit2-greeter/debian/rules new file mode 100755 index 0000000..b799307 --- /dev/null +++ b/lightdm-webkit2-greeter/debian/rules @@ -0,0 +1,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 |