Code

snap indicator: try a diamond shaped indicator for snapping to nodes. see how we...
[inkscape.git] / src / Makefile_insert
index 6eba8897d81c53319af5c3e00030fbf549b30d73..43a6295d65421eb01c69e9688d7722cc5da10a89 100644 (file)
@@ -311,14 +311,14 @@ inkscape_LDFLAGS = --export-dynamic $(kdeldflags)
 inkview_SOURCES = inkview.cpp $(win32_sources)
 inkview_LDADD = $(all_libs)
 
-libinkversion_a_SOURCES = inkscape-version.cpp
+libinkversion_a_SOURCES = inkscape-version.cpp inkscape-version.h
 
 # Hack: make inkscape-version.cpp a phony target.
 # Create the version file every time "make" is invoked. Overwrite it only
 # 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"; \