~flypig/functy/trunk

Viewing all changes in revision 178.

  • Committer: David Llewellyn-Jones
  • Date: 2016-10-03 00:37:19 UTC
  • Revision ID: git-v1:6ff786b1143a82de0f0609face4f8ebc03abd166
Add datadir command line option

Snap packages install to $(datadir), but run from a different
location. Consequently, compiling the data directory into
the code (through a config define) doesn't work. See
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1583250
This change allows the data directory to be configured at
runtime as a command line parameter, to help allow a snap
package to be created.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: