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