OSDN Git Service

build: tweak how bootstrap manages ChangeLog
authorJim Meyering <meyering@redhat.com>
Sat, 3 Dec 2011 14:35:12 +0000 (15:35 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 3 Dec 2011 14:43:26 +0000 (15:43 +0100)
* bootstrap.conf: Create ChangeLog only by touching it, so that
it doesn't ever remove my in-use symlink (w/vc-dwim).

bootstrap.conf

index 14123a2..2b3fd3a 100644 (file)
@@ -141,10 +141,7 @@ rsync      -
 tar        -
 "
 
-# If there is no ChangeLog file, create it.
-if test -d .git; then
-  test -e ChangeLog ||
-    git log --pretty=medium | fold -s > ChangeLog
-fi
+# Automake requires that ChangeLog exist.
+touch ChangeLog || exit 1
 
 gnulib_name=libgnulib