fix ruby prefix to work for distcheck
This commit is contained in:
parent
67319a9e99
commit
bddf0434f1
2 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,8 @@ EXTRA_DIST = debian m4 comedilib.spec
|
|||
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
DISTCHECK_CONFIGURE_FLAGS = RUBY_PREFIX='$${prefix}'
|
||||
|
||||
dist-hook:
|
||||
rm -rf `find $(distdir) -name CVS`
|
||||
|
||||
|
|
|
@ -55,7 +55,7 @@ else
|
|||
ENABLE_RUBY="no"
|
||||
fi
|
||||
AM_CONDITIONAL(HAVE_RUBY, [test "$ENABLE_RUBY" == "yes"])
|
||||
AC_ARG_VAR(RUBY_PREFIX,[path prefix for Ruby binding [PREFIX/]])
|
||||
AC_ARG_VAR(RUBY_PREFIX,[path prefix for Ruby binding])
|
||||
AC_ARG_VAR(RUBY_SO_DIR,[path for Ruby extensions])
|
||||
if test "$RUBY_PREFIX" != "" ; then
|
||||
RUBY_CONFIG_OPTIONS="$RUBY_CONFIG_OPTIONS --prefix=\$(RUBY_PREFIX)"
|
||||
|
|
Loading…
Add table
Reference in a new issue