blob: db82d35dfc08a54556a0843f37b60d5188e2849d (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
|
xmldir = $(metadatadir)
xml_in_files = \
core.xml.in \
annotate.xml.in \
blur.xml.in \
clone.xml.in \
commands.xml.in \
cube.xml.in \
dbus.xml.in \
decoration.xml.in \
fade.xml.in \
flask.xml.in \
fs.xml.in \
gconf.xml.in \
glib.xml.in \
gnomecompat.xml.in \
ini.xml.in \
inotify.xml.in \
kconfig.xml.in \
minimize.xml.in \
move.xml.in \
obs.xml.in \
place.xml.in \
png.xml.in \
regex.xml.in \
resize.xml.in \
rotate.xml.in \
scale.xml.in \
screenshot.xml.in \
svg.xml.in \
switcher.xml.in \
video.xml.in \
water.xml.in \
wobbly.xml.in \
zoom.xml.in
xml_files = $(xml_in_files:.xml.in=.xml)
xml_DATA = $(xml_files)
core.xml.in: core.xml.in.in Makefile
plugins=$(default_plugins); \
if [ -z $$plugins ]; then plugins="core"; fi; \
plugin_values=`echo $$plugins | sed 's/\([a-zA-Z0-9]*\)/<value>\1<\/value>/g' | tr ',' '\n' | sed 's/^/\t\t /g'`; \
$(AWK) -v aa="$$plugin_values" '{gsub("\t\t <default_plugins/>", aa); print }' <$(srcdir)/core.xml.in.in >core.xml.in
@INTLTOOL_XML_RULE@
if USE_GCONF
schemadir = $(GCONF_SCHEMA_FILE_DIR)
schema_files = $(patsubst %.xml.in,compiz-%.schemas,$(xml_in_files))
schema_DATA = $(schema_files)
%.schemas: $(xml_files)
xsltproc -o $@ --param defaultPlugins "'$(default_plugins)'" \
$(srcdir)/schemas.xslt $(subst compiz-,,$*).xml
schemas_stylesheets = schemas.xslt
endif
if USE_KCONFIG
kde_kcfgdir = $(DESTDIR)$(KDE_KCFG_DIR)
kde_kcfg_files = $(patsubst %.xml.in,compiz-%.kcfg,$(xml_in_files))
kde_kcfg_stylesheets = kcfg.xslt
%.kcfg: $(xml_files)
xsltproc -o $@ $(srcdir)/kcfg.xslt $(subst compiz-,,$*).xml;
kde_configdir = $(DESTDIR)$(KDE_KCONFIG_DIR)
kde_config_files = compizrc
compizrc: $(kde_kcfg_files)
xsltproc --stringparam screen 0 $(srcdir)/kconfig.xslt \
$(kde_kcfg_files) > $@;
kde_config_stylesheets = kconfig.xslt
endif
noinst_DATA = \
$(kde_kcfg_files) \
$(kde_config_files)
install-data-local:
if USE_GCONF
if GCONF_SCHEMAS_INSTALL
if test -z "$(DESTDIR)" ; then \
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(schema_DATA); \
fi
endif
endif
if USE_KCONFIG
if mkdir -p $(kde_kcfgdir) && test -w $(kde_kcfgdir); then ( \
$(INSTALL) -m 644 $(kde_kcfg_files) $(kde_kcfgdir) \
); \
fi
if mkdir -p $(kde_configdir) && test -w $(kde_configdir); then ( \
$(INSTALL) -m 644 $(kde_config_files) $(kde_configdir) \
); \
fi
endif
uninstall-local:
if USE_KCONFIG
if test -w $(kde_kcfgdir); then ( \
for file in $(kde_kcfg_files); do \
rm -f $(kde_kcfgdir)/$$file; \
done \
); \
fi
if test -w $(kde_configdir); then ( \
for file in $(kde_config_files); do \
rm -f $(kde_configdir)/$$file; \
done \
); \
fi
endif
xsltdir = $(stylesheetdir)
xslt_files = \
$(schemas_stylesheets) \
$(kde_kcfg_stylesheets) \
$(kde_config_stylesheets)
xslt_DATA = $(xslt_files)
EXTRA_DIST = \
$(xml_in_files) \
core.xml.in.in \
$(xslt_files)
DISTCLEANFILES = \
$(xml_files) \
core.xml.in \
$(schema_files) \
$(kde_kcfg_files) \
$(kde_config_files)
|