Skip to content

Commit

Permalink
modified: PACKAGERS.README
Browse files Browse the repository at this point in the history
	modified:   configure.in
  • Loading branch information
holborn committed May 26, 2010
1 parent 75be29c commit 56365f4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
16 changes: 16 additions & 0 deletions PACKAGERS.README
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,22 @@ final package with a bash script that select the proper one for the user.



INSTALLATION PATHS

Sorry, I dont have enough time to read, learn and follow the GNU rules, and
also I really dont like their way.

Then ... to override the default Debian installation paths for docs and data:

./configure --enable-datadir=yes --datadir=/usr/local/share/packages --enable-docdir=yes
--docdir=/usr/local/share/packages/doc/rakarrack


That will install

data in : /usr/local/share/packages/rakarrack/
docs in : /usr/local/share/packages/doc/rakarrack/




Expand Down
22 changes: 21 additions & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,31 @@ if test "x$prefix" == "xNONE"; then
prefix=/usr/local
fi



AC_ARG_ENABLE(datadir,
AC_HELP_STRING([--enable-datadir[=yes/no]],[use datadir (default=no)]),
[ac_dd="$enableval"], [ac_dd="no"])

if test "x$ac_dd" = "xyes"; then
DATADIR="$datadir"
else
DATADIR="$prefix/share/${PACKAGE}"
fi


AC_ARG_ENABLE(docdir,
AC_HELP_STRING([--enable-docdir[=yes/no]],[use docdir (default=no)]),
[ac_hd="$enableval"], [ac_hd="no"])

if test "x$ac_hd" = "xyes"; then
HELPDIR="$docdir"
else
HELPDIR="$prefix/share/doc/${PACKAGE}"
fi

AC_DEFINE_UNQUOTED(DATADIR,"$DATADIR",[DATADIR])
AC_DEFINE_UNQUOTED(HELPDIR,"$HELPDIR",[HELPDIR])

AC_DEFINE([WEBSITE],["rakarrack.sf.net"],[WEBSITE])

if test -z "$OPTS";then
Expand Down

0 comments on commit 56365f4

Please sign in to comment.