bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configurable source_base et al. in bootstrap


From: Sergey Poznyakoff
Subject: Re: Configurable source_base et al. in bootstrap
Date: Thu, 28 Feb 2008 16:53:11 +0200

Hello,

In the absense of any objections, I have installed the following
changes:

2008-02-28  Sergey Poznyakoff  <address@hidden>

            * build-aux/bootstrap (source_base, m4_base)
            (doc_base, tests_base): New variables.
            (gnulib_tool_options): Do not hardcode base
            directories, use the above variables instead.

diff --git a/build-aux/bootstrap b/build-aux/bootstrap
index 6fa1553..87a2798 100755
--- a/build-aux/bootstrap
+++ b/build-aux/bootstrap
@@ -96,6 +96,11 @@ package=`sed -n "$extract_package_name" configure.ac` || exit
 gnulib_name=lib$package
 
 build_aux=build-aux
+source_base=lib
+m4_base=m4
+doc_base=doc
+tests_base=tests
+
 # Extra files from gnulib, which override files from other sources.
 gnulib_extra_files="
        $build_aux/install-sh
@@ -490,11 +495,11 @@ gnulib_tool_options="\
  --import\
  --no-changelog\
  --aux-dir $bt/$build_aux\
- --doc-base $bt/doc\
+ --doc-base $bt/$doc_base\
  --lib $gnulib_name\
- --m4-base $bt/m4/\
- --source-base $bt/lib/\
- --tests-base $bt/tests\
+ --m4-base $bt/$m4_base/\
+ --source-base $bt/$source_base/\
+ --tests-base $bt/$tests_base\
  --local-dir $local_gl_dir\
  $gnulib_tool_option_extras\
 "

Regards,
Sergey
                                   





reply via email to

[Prev in Thread] Current Thread [Next in Thread]