diff options
author | Samuel Lidén Borell <samuel@kodafritt.se> | 2014-04-11 22:39:56 +0200 |
---|---|---|
committer | Samuel Lidén Borell <samuel@kodafritt.se> | 2014-04-11 22:39:56 +0200 |
commit | 313fd3a3653795e983e583dcbf0aa1c9867f61c4 (patch) | |
tree | a7feddf8899e45a36e499c5ffed70b752fbb61f9 /configure | |
parent | 7bd491c7a8f70e76e22c499b675d33eced1a4b7a (diff) | |
download | fribid-313fd3a3653795e983e583dcbf0aa1c9867f61c4.tar.gz fribid-313fd3a3653795e983e583dcbf0aa1c9867f61c4.tar.bz2 fribid-313fd3a3653795e983e583dcbf0aa1c9867f61c4.zip |
Improve the test scripts and install them under <docdir>/fribid/examples
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -43,6 +43,7 @@ fi libdir="" libexecdir="" datadir="" +docdir="" localedir="" mandir="" @@ -106,6 +107,8 @@ Options: --libexecdir=PATH Sets the directory for internal executables. [LIBDIR] --datadir=PATH Sets the directory for architecture-independent data. [PREFIX/share] + --docdir=PATH Sets the directory for documentation and test + scripts. [DATADIR/doc] --localedir=PATH Sets the directory for translations [DATADIR/locale] --mandir=PATH Sets the directory for man pages. [DATADIR/man] --plugin-path=PATH Sets the NPAPI plugin path [$pluginPaths] @@ -138,6 +141,9 @@ Options: --datadir=*) datadir=${flag#--datadir=} ;; + --docdir=*) + docdir=${flag#--docdir=} + ;; --localedir=*) localedir=${flag#--localedir=} ;; @@ -277,6 +283,10 @@ if [ -z "$datadir" ]; then datadir="$prefixPath/share" fi +if [ -z "$docdir" ]; then + docdir="$datadir/doc" +fi + if [ -z "$localedir" ]; then localedir="$datadir/locale" fi @@ -438,6 +448,7 @@ cat <<EOT >"$CONFFILE" #define LIBDIR "$libdir" #define LIBEXECDIR "$libexecdir" #define DATADIR "$datadir" +#define DOCDIR "$docdir" #define LOCALEDIR "$localedir" #define MANDIR "$mandir" |