Adding upstream version 0.4.1.
[debian/lxdm.git] / data / Makefile.am
1 FULL_LIBEXECDIR=$(libexecdir)
2
3 lxdm.conf : lxdm.conf.in
4         cat lxdm.conf.in | sed 's,@FULL_LIBEXECDIR@,$(FULL_LIBEXECDIR),' > $@
5
6 NULL=
7
8 sbin_SCRIPTS = lxdm
9 CLEANFILES = $(sbin_SCRIPTS)
10
11 lxdmdir = $(datadir)/lxdm
12 lxdm_DATA = \
13         lxdm.glade \
14         config.ui \
15         $(NULL)
16
17 lxdm_confdir = /etc/lxdm
18 lxdm_conf_DATA = \
19         PostLogin \
20         PostLogout \
21         PreLogin \
22         PreReboot \
23         PreShutdown \
24         LoginReady \
25         lxdm.conf \
26         Xsession \
27         $(NULL)
28
29 install-data-hook:
30         chmod +x $(DESTDIR)/etc/lxdm/Xsession \
31                 $(DESTDIR)/etc/lxdm/PostLogin \
32                 $(DESTDIR)/etc/lxdm/PostLogout \
33                 $(DESTDIR)/etc/lxdm/PreLogin \
34                 $(DESTDIR)/etc/lxdm/PreReboot \
35                 $(DESTDIR)/etc/lxdm/PreShutdown \
36                 $(DESTDIR)/etc/lxdm/LoginReady
37         chmod 640 $(DESTDIR)/etc/lxdm/lxdm.conf
38
39 themedir=$(datadir)/lxdm/themes/Industrial
40 theme_DATA= \
41         themes/Industrial/index.theme \
42         themes/Industrial/gtkrc \
43         themes/Industrial/wave.svg \
44         themes/Industrial/login.png \
45         themes/Industrial/shade.png \
46         themes/Industrial/lang.png \
47         themes/Industrial/session.png \
48         themes/Industrial/greeter.ui \
49         themes/Industrial/greeter-gtk3.ui \
50         themes/Industrial/gtk.css \
51         themes/Industrial/nobody.png \
52         $(NULL)
53
54 EXTRA_DIST= \
55         $(lxdm_DATA) \
56         $(lxdm_conf_DATA) \
57         $(theme_DATA) \
58         lxdm.conf.in \
59         $(NULL)
60