diff options
Diffstat (limited to 'data/layouts/touch/Makefile.am')
-rw-r--r-- | data/layouts/touch/Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/layouts/touch/Makefile.am b/data/layouts/touch/Makefile.am index 3217a76..9446e57 100644 --- a/data/layouts/touch/Makefile.am +++ b/data/layouts/touch/Makefile.am @@ -18,8 +18,10 @@ SUFFIXES = .xml.in .xml .xml.in.xml: $(AM_V_GEN) \ rm -f $@ $@.xsl; \ - xsltproc --xinclude $(top_srcdir)/tools/basic.xsl $@.in > $@.xsl && \ - xsltproc --xinclude $@.xsl $@.in > $@ + 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) |