summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbootstrap9
-rw-r--r--bootstrap.conf8
2 files changed, 12 insertions, 5 deletions
diff --git a/bootstrap b/bootstrap
index 138239d12..6957ea3b6 100755
--- a/bootstrap
+++ b/bootstrap
@@ -70,6 +70,9 @@ gnulib_modules=
# Any gnulib files needed that are not in modules.
gnulib_files=
+# A function to be called after everything else in this script.
+bootstrap_epilogue() { :; }
+
# The command to download all .po files for a specified domain into
# a specified directory. Fill in the first %s is the domain name, and
# the second with the destination directory. Use rsync's -L and -r
@@ -801,10 +804,6 @@ if test $with_gettext = yes; then
fi
fi
-# Horrible, coreutils-specific kludges.
-# Change paths in gnulib-tests/gnulib.mk from "../.." to "..".
-m=gnulib-tests/gnulib.mk
-sed 's,\.\./\.\.,..,g' $m > $m-t
-mv -f $m-t $m
+bootstrap_epilogue
echo "$0: done. Now you can run './configure'."
diff --git a/bootstrap.conf b/bootstrap.conf
index f648e226a..726092c7f 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -319,3 +319,11 @@ tar -
# Automake requires that ChangeLog exist.
touch ChangeLog || exit 1
+
+bootstrap_epilogue()
+{
+ # Change paths in gnulib-tests/gnulib.mk from "../.." to "..".
+ m=gnulib-tests/gnulib.mk
+ sed 's,\.\./\.\.,..,g' $m > $m-t
+ mv -f $m-t $m
+}