mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
d1668d5f39
commit
fa02c8ddb4
@ -76,7 +76,10 @@ if CUSTOM_GNC_DBD_DIR
|
|||||||
echo 'GNC_DBD_DIR=@GNC_DBD_DIR@' >> $@.tmp
|
echo 'GNC_DBD_DIR=@GNC_DBD_DIR@' >> $@.tmp
|
||||||
endif
|
endif
|
||||||
# Set XDG_DATA_DIRS if necessary. This is done in such a way that the value at
|
# 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" ]; \
|
if [ "a$(prefix)" != "a/usr" ] && [ "a$(prefix)" != "a/usr/local" ]; \
|
||||||
then \
|
then \
|
||||||
echo >> $@.tmp; \
|
echo >> $@.tmp; \
|
||||||
|
Loading…
Reference in New Issue
Block a user