From: John Ellson Date: Mon, 7 Oct 2013 20:35:40 +0000 (-0400) Subject: add new builder.sh script for more efficient, more autonomous builds X-Git-Tag: LAST_LIBGRAPH~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ced251a8b811001ab4bd2cc1e4d8d4c71f7ab059;p=graphviz add new builder.sh script for more efficient, more autonomous builds --- diff --git a/autogen.sh b/autogen.sh index bdd1bb206..2e2fd7953 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 diff --git a/builder.sh b/builder.sh index 99bdaa4ad..0eb916f90 100755 --- a/builder.sh +++ b/builder.sh @@ -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)/" t$$ +sed "s/\(m4_define(graphviz_version_micro, \).*)/\1$VERSION_DATE)/" t$$ mv t$$ version.m4 sed "s/\(m4_define(graphviz_collection, \).*)/\1\"development\")/" t$$ mv t$$ version.m4 -sed "s/\(m4_define(graphviz_version_date, \).*)/\1\"$VERSION_DATE\")/" t$$ +sed "s/\(m4_define(graphviz_version_date, \).*)/\1$VERSION_DATE)/" t$$ mv t$$ version.m4 exit