]> granicus.if.org Git - graphviz/commitdiff
move vimdot alongside the plugin that it depends on
authorellson <devnull@localhost>
Sun, 14 Sep 2008 00:10:18 +0000 (00:10 +0000)
committerellson <devnull@localhost>
Sun, 14 Sep 2008 00:10:18 +0000 (00:10 +0000)
cmd/dot/Makefile.am
cmd/dot/vimdot.sh [deleted file]

index 3ec58662f2e047e42c96f926bfffbab0077b4daf..08971dcbf7b25ce00e3ce701e3e8bca89b0743d4 100644 (file)
@@ -23,10 +23,10 @@ AM_CPPFLAGS = \
 if ENABLE_SHARED
 if ENABLE_LTDL
 if ENABLE_STATIC
-bin_PROGRAMS = dot dot_static vimdot
+bin_PROGRAMS = dot dot_static
 else
 noinst_PROGRAMS = dot_builtins
-bin_PROGRAMS = dot vimdot
+bin_PROGRAMS = dot
 endif
 else
 if ENABLE_STATIC
@@ -42,11 +42,6 @@ bin_PROGRAMS = dot_static
 endif
 endif
 
-
-vimdot: $(top_srcdir)/cmd/dot/vimdot.sh
-       cp $(top_srcdir)/cmd/dot/vimdot.sh vimdot
-       chmod +x vimdot
-
 man_MANS = dot.1 
 pdf_DATA = dot.1.pdf
 
@@ -116,6 +111,6 @@ dot_static_LDADD += $(top_builddir)/plugin/pango/.libs/libgvplugin_pango_C.a @PA
 dot_builtins_LDADD += $(top_builddir)/plugin/pango/libgvplugin_pango.la @PANGOCAIRO_LIBS@
 endif
 
-EXTRA_DIST = Makefile.old dot.1 dot.1.pdf vimdot.sh
+EXTRA_DIST = Makefile.old dot.1 dot.1.pdf
 
-DISTCLEANFILES = dot.1.pdf vimdot
+DISTCLEANFILES = dot.1.pdf
diff --git a/cmd/dot/vimdot.sh b/cmd/dot/vimdot.sh
deleted file mode 100755 (executable)
index d214077..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# Written by: John Ellson <ellson@research.att.com>
-
-if test -z $1; then f=noname.dot; else f=$1; fi
-if ! test -f $f; then cat >$f <<EOF
-digraph noname {
-       graph [layout=dot rankdir=LR]
-
-// This is just an example for you to use as a template.
-// Edit as you like. Whenever you save a legal graph,
-// the graph layout in dot's window will be updated.
-
-       {vim dot} -> vimdot
-}
-EOF
-fi
-if ! test -w $f; then echo "warning: $f is not writable";fi
-
-# dot -Txlib watches the file $f for changes using inotify()
-dot -Txlib $f &
-# open an editor in the file (coudl be any editor)
-gvim $f &