[PATCH] Set a relative XSLT path for Windows builds
Dirk Hohndel
dirk at hohndel.org
Fri Feb 22 11:13:49 PST 2013
"Lubomir I. Ivanov" <neolit123 at gmail.com> writes:
> From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
>
> We need to override the XSLT path when building for Windows.
> "/usr/share/subsurface/xslt" doesn't make much sense unless
> one has some sort of a MSYS type enviroment set.
>
> The XSLT path in the installer is ./xslt, so this has to be
> the path passed via XSLT=-DXSLT='"$(XSLTDIR)"'
>
> Fixes a bug on Windows where files that require XSLT conversation
> were not processed correctly.
>
> Reported-by: Rainer Mohr <mail at divelogs.de>
> Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
> ---
> Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Makefile b/Makefile
> index 91bdbcc..953cd63 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -44,6 +44,7 @@ PRODVERSION_STRING := $(shell $(GET_VERSION) win $(VERSION_STRING) || \
> #
> ifeq ($(CC), i686-w64-mingw32-gcc)
> # ok, we are cross building for Windows
> + XSLTDIR = ./xslt/
At least for me this only works with XSLTDIR = .\\xslt
/D
More information about the subsurface
mailing list