summaryrefslogtreecommitdiff
path: root/lightdm.morph
diff options
context:
space:
mode:
Diffstat (limited to 'lightdm.morph')
-rw-r--r--lightdm.morph6
1 files changed, 6 insertions, 0 deletions
diff --git a/lightdm.morph b/lightdm.morph
index 6b2463c1..736bda67 100644
--- a/lightdm.morph
+++ b/lightdm.morph
@@ -5,5 +5,11 @@
"configure-commands": [
"NOCONFIGURE=1 ./autogen.sh",
"./configure --prefix=\"$PREFIX\" --sysconfdir=/etc --localstatedir=/var \"$@\""
+ ],
+ "install-commands": [
+ "make DESTDIR=\"$DESTDIR\" install",
+ "mkdir -p \"$DESTDIR/lib/systemd/system/\"",
+ "cp lightdm.service \"$DESTDIR/lib/systemd/system/\"",
+ "ln -s \"$DESTDIR/lib/systemd/system/lightdm.service\" \"$DESTDIR/lib/systemd/system/multi-user.target.wants/lightdm.service\""
]
}