]> granicus.if.org Git - graphviz/commitdiff
add new builder.sh script for more efficient, more autonomous builds
authorJohn Ellson <ellson@research.att.com>
Mon, 7 Oct 2013 20:35:40 +0000 (16:35 -0400)
committerJohn Ellson <ellson@research.att.com>
Mon, 7 Oct 2013 20:35:40 +0000 (16:35 -0400)
autogen.sh
builder.sh

index bdd1bb206eb6077a9624db60fc3464bc7f356028..2e2fd7953cf6e0b12c47eb7308ab3952ea77de43 100755 (executable)
@@ -26,7 +26,7 @@ m4_define(graphviz_version_minor, 35)
 dnl NB: the next line gets changed to a date/time string for development releases
 m4_define(graphviz_version_micro, 0)
 m4_define(graphviz_version_date, $GRAPHVIZ_VERSION_DATE)
-m4_define(graphviz_collection, "stable")
+m4_define(graphviz_collection, stable)
 EOF
 
 autoreconf -v --install --force || exit 1
index 99bdaa4ad2cd2ad193d5d7f53c7349559305bd87..0eb916f90ad98acc5f240a84779db794e75cccde 100755 (executable)
@@ -35,11 +35,11 @@ VERSION_MAJOR=`grep 'm4_define(graphviz_version_major' version.m4 | sed 's/.*, \
 VERSION_MINOR=`grep 'm4_define(graphviz_version_minor' version.m4 | sed 's/.*, \([0-9]*\))/\1/'`
 VERSION=$VERSION_MAJOR.$VERSION_MINOR.$VERSION_DATE
 
-sed "s/\(m4_define(graphviz_version_micro, \)[0-9.]*)/\1$VERSION_DATE)/" <version.m4 >t$$
+sed "s/\(m4_define(graphviz_version_micro, \).*)/\1$VERSION_DATE)/" <version.m4 >t$$
 mv t$$ version.m4
 sed "s/\(m4_define(graphviz_collection, \).*)/\1\"development\")/" <version.m4 >t$$
 mv t$$ version.m4
-sed "s/\(m4_define(graphviz_version_date, \).*)/\1\"$VERSION_DATE\")/" <version.m4 >t$$
+sed "s/\(m4_define(graphviz_version_date, \).*)/\1$VERSION_DATE)/" <version.m4 >t$$
 mv t$$ version.m4
 
 exit