summaryrefslogtreecommitdiff
path: root/data/layouts/touch/Makefile.am
blob: e8aa057329ad57663113966dd4adab4ed7492b41 (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
touchlayoutsdir = $(datadir)/caribou/layouts/touch
touchlayouts_in_files =\
    ara.xml.in \
    de.xml.in \
    fr.xml.in \
    il.xml.in \
    ru.xml.in \
    us.xml.in
touchlayouts_DATA = $(touchlayouts_in_files:.xml.in=.xml)

common_files = \
	common/azerty.xml \
	common/qwerty.xml \
	common/qwertz.xml \
	common/symbols.xml

ara.xml: $(common_files)
de.xml: $(common_files)
il.xml: $(common_files)
ru.xml: $(common_files)
us.xml: $(common_files)

SUFFIXES = .xml.in .xml

.xml.in.xml:
	$(AM_V_GEN) \
	  rm -f $@ $@.xsl; \
          srcdir=''; \
            test -f ./$@.in || srcdir=$(srcdir)/; \
	    xsltproc --xinclude $(top_srcdir)/tools/basic.xsl $${srcdir}$@.in > $@.xsl && \
	    xsltproc --xinclude $@.xsl $${srcdir}$@.in > $@

EXTRA_DIST = $(touchlayouts_in_files) $(common_files)

CLEANFILES = $(touchlayouts_DATA) $(touchlayouts_in_files:.xml.in=.xml.xsl)

-include $(top_srcdir)/git.mk