autotools: remove confusing variables ${datadir} and DATADIR.
Those variables were confusing because autoconf usually defines DATADIR to PREFIX/share and gajim uses both defs.datadir=PREFIX/share/gajim and gajim.DATA_DIR=PREFIX/share/gajim/data. Now, autoconf will use PKGDATADIR for setting the (renamed) defs.basedir variable which will be used to set gajimpaths['DATA_DIR'] and gajimpaths['ICONS_DIR'] in configpaths.py Gajim will also looks for the ${GAJIM_BASEDIR} environment variable instead of ${datadir} which was really too generic (no namespace).
Showing
- configure.ac 2 additions, 2 deletionsconfigure.ac
- data/defs.py.in 1 addition, 1 deletiondata/defs.py.in
- scripts/gajim.in 1 addition, 4 deletionsscripts/gajim.in
- src/common/configpaths.py 4 additions, 7 deletionssrc/common/configpaths.py
- src/common/defs.py 1 addition, 1 deletionsrc/common/defs.py
Please register or sign in to comment