summaryrefslogtreecommitdiff
path: root/data/greeter-autostart/Makefile.am
blob: faa83cb776f3d7f03602c7db0c40c0c8886a8a48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
NULL =

edit = sed \
	-e 's|@SBINDIR[@]|$(sbindir)|g' \
	-e 's|@SYSCONFDIR[@]|$(sysconfdir)|g' \
	-e 's|@LIBDIR[@]|$(libdir)|g' \
	-e 's|@LIBEXECDIR[@]|$(libexecdir)|g' \
	-e 's|@LOCALSTATEDIR[@]|$(localstatedir)|g'

%.desktop.in: %.desktop.in.in Makefile
	$(edit) $< >$@

@INTLTOOL_DESKTOP_RULE@
desktopdir = $(pkgdatadir)/autostart/LoginWindow
desktop_in_files = 	\
	at-spi-registryd-wrapper.desktop.in	\
	gdm-simple-greeter.desktop.in		\
	gnome-mag.desktop.in			\
	gnome-power-manager.desktop.in		\
	gnome-settings-daemon.desktop.in	\
	gok.desktop.in				\
	metacity.desktop.in			\
	orca-screen-reader.desktop.in		\
	polkit-gnome-authentication-agent-1.desktop	\
	$(NULL)
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

EXTRA_DIST = 			\
	at-spi-registryd-wrapper.desktop.in.in	\
	gdm-simple-greeter.desktop.in.in	\
	gnome-power-manager.desktop.in.in	\
	gnome-settings-daemon.desktop.in.in	\
	$(desktop_in_files)	\
	$(NULL)

DISTCLEANFILES =			\
	*.desktop			\
	at-spi-registryd-wrapper.desktop.in	\
	gdm-simple-greeter.desktop.in	\
	gnome-power-manager.desktop.in	\
	gnome-settings-daemon.desktop.in	\
	$(NULL)

MAINTAINERCLEANFILES =                  \
        *~                              \
        Makefile.in