From: YAMAMOTO Takashi Date: Thu, 8 May 2014 01:44:08 +0000 (+0900) Subject: dot2pic: Stop assuming the path of the interpreter X-Git-Tag: v2.1.3~37 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=096002d9cba1eda1e74db812ae40c5b2b16dc86f dot2pic: Stop assuming the path of the interpreter On NetBSD, perl is usually installed as /usr/pkg/bin/perl. Acked-by: Ben Pfaff Signed-off-by: YAMAMOTO Takashi --- diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index 63befd1c4..f9364cb99 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -32,7 +32,7 @@ if HAVE_DOT vswitchd/vswitch.gv: ovsdb/ovsdb-dot.in vswitchd/vswitch.ovsschema $(OVSDB_DOT) --no-arrows $(srcdir)/vswitchd/vswitch.ovsschema > $@ vswitchd/vswitch.pic: vswitchd/vswitch.gv ovsdb/dot2pic - (dot -T plain < vswitchd/vswitch.gv | $(srcdir)/ovsdb/dot2pic -f 3) > $@.tmp; + (dot -T plain < vswitchd/vswitch.gv | $(PERL) ovsdb/dot2pic -f 3) > $@.tmp; mv $@.tmp $@ VSWITCH_PIC = vswitchd/vswitch.pic VSWITCH_DOT_DIAGRAM_ARG = --er-diagram=$(VSWITCH_PIC) diff --git a/vtep/automake.mk b/vtep/automake.mk index c42549bd5..f84fa723e 100644 --- a/vtep/automake.mk +++ b/vtep/automake.mk @@ -34,7 +34,7 @@ if HAVE_DOT vtep/vtep.gv: ovsdb/ovsdb-dot.in vtep/vtep.ovsschema $(OVSDB_DOT) --no-arrows $(srcdir)/vtep/vtep.ovsschema > $@ vtep/vtep.pic: vtep/vtep.gv ovsdb/dot2pic - (dot -T plain < vtep/vtep.gv | $(srcdir)/ovsdb/dot2pic -f 3) > $@.tmp; + (dot -T plain < vtep/vtep.gv | $(PERL) ovsdb/dot2pic -f 3) > $@.tmp; mv $@.tmp $@ VTEP_PIC = vtep/vtep.pic VTEP_DOT_DIAGRAM_ARG = --er-diagram=$(VTEP_PIC)