Code

Do not fail when svn client is not installed and .svn directory is
authortweenk <tweenk@users.sourceforge.net>
Tue, 13 Jan 2009 02:35:00 +0000 (02:35 +0000)
committertweenk <tweenk@users.sourceforge.net>
Tue, 13 Jan 2009 02:35:00 +0000 (02:35 +0000)
present.

src/Makefile_insert

index 6eba8897d81c53319af5c3e00030fbf549b30d73..305294392323660c5fe35ddd5a23af16dabaf9d7 100644 (file)
@@ -318,7 +318,7 @@ libinkversion_a_SOURCES = inkscape-version.cpp
 # if it changes. Watch the backslashes!
 inkscape-version.cpp:
        VER_PREFIX="$(VERSION)"; \
-       if test -x "$(srcdir)/.svn"; then \
+       if test -x "$(srcdir)/.svn" -a ! -z `which svn`; then \
            VER_SVNREV=" r`svn info $(srcdir) | sed -n -e '/^Revision:/s/Revision: \(.*\)/\1/p'`"; \
            if test ! -z "`svn status -q $(srcdir)`"; then \
                 VER_CUSTOM=" custom"; \