chiark / gitweb /
build/ scripts: Remove the version-number machinery.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 10:46:49 +0000 (11:46 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 9 Aug 2020 10:46:49 +0000 (11:46 +0100)
Since these things are no longer installed anywhere outside of a
revision-controlled working tree, they don't need to know their version
numbers any more.

build/auto-version
build/confsubst

index d8189edcc47a53c4da399740d072653edf573a83..2b37944b01f89818c0be1a5644207aedaeeb01fe 100755 (executable)
@@ -25,7 +25,6 @@
 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 set -e
-VERSION="@VERSION@"
 
 ###--------------------------------------------------------------------------
 ### Parse command line arguments.
@@ -40,10 +39,6 @@ Writes on standard output the program's version number.
 EOF
       exit 0
       ;;
-    -v | --v | --ve | --ver | --vers | --versi | --versio | --version)
-      echo "auto-version: Common Files Distribution version $VERSION"
-      exit 0
-      ;;
     --)
       shift
       break
index f9ba37bdc455f258a0f94bc8f62cd868ebdbf268..2638a71c5a08a9a20ca8264ff0e10cb65ff563dc 100755 (executable)
@@ -25,7 +25,6 @@
 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
 set -e
-VERSION="@VERSION@"
 
 ###--------------------------------------------------------------------------
 ### Parse command line arguments.
@@ -41,10 +40,6 @@ standard output.
 EOF
       exit 0
       ;;
-    -v | --v | --ve | --ver | --vers | --versi | --versio | --version)
-      echo "confsubst: Common Files Distribution version $VERSION"
-      exit 0
-      ;;
     --)
       shift
       break