Hi, I hacked Wormux code to fix some bugs about directories: - I wrote new ./configure option based on Jean Parpaillon proposition (--with-localedir-name) - I renamed ./configure option --enable-datadir-name to --with-datadir-name - I fixed */Makefile.am to use $DATADIR and $LOCALEDIR - Default data directory is now $PREFIX/games/wormux (=> /usr/local/share/games/wormux)
I changed ResourceManager to check only in one directory if requested file does exist or not. ==> It would be easier for packagers to package Wormux ;-) Some examples: * ./configure --prefix=/usr o binary in /usr/bin o data in /usr/share/games/wormux o locale in /usr/share/locale * ./configure --with-datadir-name=wormux (old config) o binary in /usr/local/bin o data in /usr/local/share/wormux o locale in /usr/local/share/locale o etc. Bye, Haypo -- Victor Stinner - étudiant à l'UTBM (Belfort, France) http://www.haypocalc.com/wiki/Victor_Stinner