for the benefit of git users, checkout build/ if it is missing but after
authorRyan Lortie <desrt@desrt.ca>
Wed, 5 Dec 2007 06:34:18 +0000 (06:34 +0000)
committerRyan Lortie <ryanl@src.gnome.org>
Wed, 5 Dec 2007 06:34:18 +0000 (06:34 +0000)
2007-12-05  Ryan Lortie  <desrt@desrt.ca>

        * autogen.sh: for the benefit of git users, checkout build/ if it is
        missing
        * .gitignore: but after that, ignore it.

svn path=/trunk/; revision=6046

.gitignore [new file with mode: 0644]
ChangeLog
autogen.sh

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..378eac2
--- /dev/null
@@ -0,0 +1 @@
+build
index b27c6b8..89586f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
 
+       * autogen.sh: for the benefit of git users, checkout build/ if it is
+       missing
+       * .gitignore: but after that, ignore it.
+
+2007-12-05  Ryan Lortie  <desrt@desrt.ca>
+
        * glib/ghash.c: ungtk-docify some comments for internal functions
 
 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
index 7e5885c..786d653 100755 (executable)
@@ -83,6 +83,23 @@ rm -rf autom4te.cache
 # regenerated from their corresponding *.in files by ./configure anyway.
 touch README INSTALL
 
+if [ ! -d build ]; then
+  if [ -x "`which svn`" ]; then
+    echo
+    echo "=============================================================="
+    echo "  your checkout doesn't contain build/."
+    echo "      fetching it from http://svn.gnome.org/svn/build/trunk/"
+    echo "=============================================================="
+    echo
+
+    svn checkout http://svn.gnome.org/svn/build/trunk/ build
+  else
+    echo
+    echo 'warning: build/ directory is missing and no "svn" to fetch it!'
+    echo
+  fi
+fi
+
 $ACLOCAL $ACLOCAL_FLAGS || exit $?
 
 libtoolize --force || exit $?