Elaborate a bit on why compile time XDG_DATA_DIRS is added to the mix

This was not clear from the current comment alone

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23307 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens 2013-10-22 09:18:43 +00:00
parent d1668d5f39
commit fa02c8ddb4

View File

@ -76,7 +76,10 @@ if CUSTOM_GNC_DBD_DIR
echo 'GNC_DBD_DIR=@GNC_DBD_DIR@' >> $@.tmp
endif
# Set XDG_DATA_DIRS if necessary. This is done in such a way that the value at
# run time overrieds the value at compile time which overrides the default value
# run time overrides the value at compile time which overrides the default value
# The compile time value is added because GnuCash on X11 builds on MacPorts, which
# uses /opt/local/share as default instead of the Free Desktop defined standard paths
# /usr/local/share and /usr/share
if [ "a$(prefix)" != "a/usr" ] && [ "a$(prefix)" != "a/usr/local" ]; \
then \
echo >> $@.tmp; \