summaryrefslogtreecommitdiff
path: root/data/images/cosmos/Makefile.am
blob: 6cc80d8af81abd3587744cd9393e398786dde0e4 (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
47
48
49
50
51
52
53
54
NULL =

BACKGROUNDS = \
	blue-marble-west.jpg	\
	cloud.jpg 		\
	comet.jpg 		\
	earth-horizon.jpg	\
	galaxy-ngc3370.jpg	\
	helix-nebula.jpg	\
	jupiter.jpg		\
	sombrero.jpg		\
	whirlpool.jpg		\
	$(NULL)

imagesdir   = $(SLIDESHOW_COSMOS_DIR)
images_DATA =			\
	$(BACKGROUNDS)		\
	background-1.xml	\
	$(NULL)

cosmos.xml.in: cosmos.xml.in.in Makefile
	$(edit) $< >$@

background-1.xml: background-1.xml.in Makefile
	$(edit) $< >$@

metadata_in_files = cosmos.xml.in
metadatadir = $(datadir)/mate-background-properties
metadata_DATA = $(metadata_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@

edit = sed \
	-e 's|@IMAGESDIR[@]|$(imagesdir)|g'

EXTRA_DIST =			\
	CREDITS 		\
	$(BACKGROUNDS)		\
	background-1.xml.in	\
	cosmos.xml.in.in	\
	$(NULL)

CLEANFILES = \
	cosmos.xml.in			\
	$(NULL)

DISTCLEANFILES = \
	cosmos.xml			\
	background-1.xml		\
	$(NULL)

MAINTAINERCLEANFILES =                  \
	*~				\
	Makefile.in			\
	$(NULL)