autotools: Install to $prefix/data on win32
commitcc6602c2b6096739c8a3d5dad51b35885e31b895
authorThomas Martitz <kugel@rockbox.org>
Tue, 24 Feb 2015 22:59:46 +0000 (24 23:59 +0100)
committerThomas Martitz <kugel@rockbox.org>
Wed, 25 Feb 2015 08:23:12 +0000 (25 09:23 +0100)
treeaa6959084348cef9f6a8bc50e9cbc7c3b0783c8b
parenta8a2d14711cd983f3ae094237c33dedb1821d72e
autotools: Install to $prefix/data on win32

setup_paths() sets app->datadir to $prefix/win32. With mingw-via-autotools,
it installed data to $prefix/share/geany (like on Linux). With this change
data is installed to $prefix/data ($datarootdir is not changed).

This fixes geany startup after make install with autotools.

Linux:
pkgdatadir = ${datarootdir}/geany
GEANY_DATA_DIR = /path/to/prefix/share/geany

Win32:
pkgdatadir = ${prefix}/data
GEANY_DATA_DIR = /path/to/prefix/data
configure.ac