From 330c7a68512ea5a8a860242537bacda05a00a78b Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Wed, 5 Dec 2007 06:34:18 +0000 Subject: [PATCH] for the benefit of git users, checkout build/ if it is missing but after 2007-12-05 Ryan Lortie * 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 | 1 + ChangeLog | 6 ++++++ autogen.sh | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..378eac25d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/ChangeLog b/ChangeLog index b27c6b881..89586f6ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-05 Ryan Lortie + + * 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 * glib/ghash.c: ungtk-docify some comments for internal functions diff --git a/autogen.sh b/autogen.sh index 7e5885cb1..786d653b9 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 $?