Author: jannis Date: 2008-07-26 12:27:03 +0000 (Sat, 26 Jul 2008) New Revision: 27375
Modified: libexo/trunk/ChangeLog libexo/trunk/autogen.sh Log: * autogen.sh: Add @REVISION@ substitution support for git svn repositories. Modified: libexo/trunk/ChangeLog =================================================================== --- libexo/trunk/ChangeLog 2008-07-26 10:58:23 UTC (rev 27374) +++ libexo/trunk/ChangeLog 2008-07-26 12:27:03 UTC (rev 27375) @@ -1,3 +1,8 @@ +2008-07-26 Jannis Pohlmann <[EMAIL PROTECTED]> + + * autogen.sh: Add @REVISION@ substitution support for git svn + repositories. + 2008-07-17 Nick Schermer <[EMAIL PROTECTED]> * exo-csource/main.c: Don't strip text between nodes Modified: libexo/trunk/autogen.sh =================================================================== --- libexo/trunk/autogen.sh 2008-07-26 10:58:23 UTC (rev 27374) +++ libexo/trunk/autogen.sh 2008-07-26 12:27:03 UTC (rev 27375) @@ -29,7 +29,14 @@ # substitute revision and linguas linguas=`sed -e '/^#/d' po/LINGUAS` -revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'` +if [ -d .git/svn ]; then + revision=`git svn find-rev trunk || + git svn find-rev origin/trunk || + git svn find-rev HEAD || + git svn find-rev master` +else + revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'` +fi sed -e "s/@LINGUAS@/${linguas}/g" \ -e "s/@REVISION@/${revision}/g" \ < "configure.in.in" > "configure.in" _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org http://foo-projects.org/mailman/listinfo/xfce4-commits