summaryrefslogtreecommitdiff
path: root/metadata/Makefile.am
blob: e6e30c69231a0a8914f1d4e4e6bacdf7246dca85 (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
metadir = $(metadatadir)
meta_DATA =	         \
	addhelper.xml	 \
	bench.xml	 \
	crashhandler.xml \
	extrawm.xml	 \
	fadedesktop.xml  \
	group.xml	 \
	imgjpeg.xml	 \
	mblur.xml	 \
	neg.xml		 \
	opacify.xml	 \
	put.xml	 	 \
	reflex.xml	 \
	ring.xml         \
	showdesktop.xml	 \
	snap.xml	 \
	snow.xml	 \
	splash.xml	 \
	text.xml         \
	thumbnail.xml	 \
	tile.xml	 \
	trailfocus.xml	 \
	wall.xml

EXTRA_DIST = $(meta_DATA)

if USE_SCHEMAS
schemadir   = $(GCONF_SCHEMA_FILE_DIR)
schema_DATA = $(patsubst %.xml,compiz-%.schemas,$(meta_DATA))

%.schemas: $(meta_DATA)
	xsltproc -o $@ $(xsltdir)/schemas.xslt $(subst compiz-,,$*).xml;

if GCONF_SCHEMAS_INSTALL
install-data-local:
       if test -z "$(DESTDIR)" ; then \
               GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA); \
       fi
endif
endif