summaryrefslogtreecommitdiff
path: root/data/displays.d/Makefile.am
blob: 1fab1d2f057d2f164e73f56601ccc30792dd726b (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
NULL =

displaydir = $(sysconfdir)/ConsoleKit/displays.d
display_in_files = \
	Local.display.in \
	RemoteMachine.display.in \
	LocalVNC.display.in \
	Headless.display.in

display_DATA = $(display_in_files:.display.in=.display)

Local.display: Local.display.in Makefile
	sed -e "s|\@X11_DIR\@|$(X11_DIR)|" $< > $@
RemoteMachine.display: RemoteMachine.display.in Makefile
	sed -e "s|\@X11_DIR\@|$(X11_DIR)|" $< > $@
LocalVNC.display: LocalVNC.display.in Makefile
	sed -e "s|\@X11_DIR\@|$(X11_DIR)|" $< > $@
Headless.display: Headless.display.in Makefile
	sed -e "s|\@X11_DIR\@|$(X11_DIR)|" $< > $@

EXTRA_DIST =						\
	$(display_in_files)				\
	$(NULL)

MAINTAINERCLEANFILES =			\
	*~				\
	Makefile.in

CLEANFILES = $(display_DATA)