Imported Upstream version 0.2.0
[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         $(NULL)
15
16 lxdm_confdir = /etc/lxdm
17 lxdm_conf_DATA = \
18         PostLogin \
19         PostLogout \
20         PreLogin \
21         PreReboot \
22         PreShutdown \
23         LoginReady \
24         lxdm.conf \
25         Xsession \
26         $(NULL)
27
28 install-data-hook:
29         chmod +x $(DESTDIR)/etc/lxdm/Xsession \
30                 $(DESTDIR)/etc/lxdm/PostLogin \
31                 $(DESTDIR)/etc/lxdm/PostLogout \
32                 $(DESTDIR)/etc/lxdm/PreLogin \
33                 $(DESTDIR)/etc/lxdm/PreReboot \
34                 $(DESTDIR)/etc/lxdm/PreShutdown \
35                 $(DESTDIR)/etc/lxdm/LoginReady
36         chmod 600 $(DESTDIR)/etc/lxdm/lxdm.conf
37
38 themedir=$(datadir)/lxdm/themes/Industrial
39 theme_DATA= \
40         themes/Industrial/index.theme \
41         themes/Industrial/gtkrc \
42         themes/Industrial/wave.svg \
43         themes/Industrial/login.png \
44         themes/Industrial/shade.png \
45         themes/Industrial/lang.png \
46         themes/Industrial/session.png \
47         themes/Industrial/greeter.ui \
48         $(NULL)
49
50 EXTRA_DIST= \
51         $(lxdm_DATA) \
52         $(lxdm_conf_DATA) \
53         $(theme_DATA) \
54         lxdm.conf.in \
55         $(NULL)
56