Forums » StepMania Development » Changing Linux install directory at compile time?

1
Is there a way to have StepMania install to /usr/share/stepmania-5.0 rather than /usr/stepmania-5.0?

Also, is there a reason why the stepmania binary isn't installed to /usr/bin?
Reply
Could the cmake flag -DCMAKE_INSTALL_PREFIX=(location) and a symlink work for what you want? You could set the install prefix to /usr/share and then symlink stepmania to /usr/bin, if I understand correctly anyway.
Reply
Yes, that should do what I want, provided that the symlink works as expected, which it might not.

A longer term fix would be to update the Linux build configuration to make it a little more sane and expected. I might contribute that.
Reply
My understanding is that StepMania expects that at least some of its data is in the same directory as the executable. You could maybe use the AdditionalFolders preference, but I don't know how much other data you need with the executable to make it happy.

Last edited: 11 February 2016 7:08am

Reply