]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: add our 'bootstrap_post_import_hook' function
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 31 Aug 2012 23:46:38 +0000 (01:46 +0200)
committerJim Meyering <meyering@redhat.com>
Sat, 1 Sep 2012 19:25:13 +0000 (21:25 +0200)
This is in preparation of future changes.

* bootstrap.conf (bootstrap_post_import_hook): New, will be executed
by bootstrap after gnulib-tool but before the autotools.
Move creation of dummy ChangeLog into it.

bootstrap.conf

index 535900d5879beacde33ca53332f348810e450f1d..4fc4e67e34143e085b5c1f8300533ecb011af570 100644 (file)
@@ -324,8 +324,11 @@ tar        -
 xz         -
 "
 
-# Automake requires that ChangeLog exist.
-touch ChangeLog || exit 1
+bootstrap_post_import_hook ()
+{
+  # Automake requires that ChangeLog exist.
+  touch ChangeLog || exit 1
+}
 
 bootstrap_epilogue()
 {