From: John Ellson Date: Tue, 19 May 2015 14:40:37 +0000 (-0400) Subject: need a commit - rm unused script X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~112 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31158b1b49cc726cad4191cbd9e13935b2643028;p=graphviz need a commit - rm unused script --- diff --git a/set_dev_version.sh b/set_dev_version.sh deleted file mode 100755 index 0115dc2a9..000000000 --- a/set_dev_version.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -# FOR USE ONLY DURING NIGHTLY DEVELOPMENT BUILDS - -# DO NOT COMMIT TO CVS AFTER RUNNING THIS SCRIPT - -# This script is intended for use only during the preparation of master sources for nightly snapshot builds. -# It modifies autogen.sh to use an extended package version number containing the current date. -# -# This style of version number is particular to graphviz, and probably wouldn't be done this way if -# we were using SVN rather than CVS. Also, it has obscure complications when we try to extend it to the Windows platform. -# -# For these reasons, we maintain this custom script here rather than in the generic package build scripts. -# -# This script should not be run for stable builds, and for development builds it should be run first after checkout: -# -# cvs co graphviz2 -# cd graphviz2 -# ./set_dev_version.sh -# ./autogen.sh -# make dist -# -# John Ellson - -DATE=`date -u +%Y%m%d.%H%M` - -VERSION_MAJOR=`grep 'm4_define(graphviz_version_major' autogen.sh | sed 's/.*, \([0-9]*\))/\1/'` -VERSION_MINOR=`grep 'm4_define(graphviz_version_minor' autogen.sh | sed 's/.*, \([0-9]*\))/\1/'` -VERSION_MICRO=`grep 'm4_define(graphviz_version_micro' autogen.sh | sed 's/.*, \([0-9.]*\))/\1/'` - -VERSION_MICRO=$DATE -sed "s/\(m4_define(graphviz_version_micro, \)[0-9.]*)/\1$VERSION_MICRO)/" t$$ -mv t$$ autogen.sh -sed "s/\(GRAPHVIZ_COLLECTION\)=.*/\1=development/" t$$ -mv t$$ autogen.sh - -VERSION=$VERSION_MAJOR.$VERSION_MINOR.$VERSION_MICRO - -VERSION_DATE=$DATE -sed "s/VERSION_DATE=.*/VERSION_DATE=$VERSION_DATE/" t$$ -mv t$$ autogen.sh - -chmod +x autogen.sh