aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-19 04:54:22 -0400
committerB. Watson <urchlay@slackware.uk>2023-05-19 04:54:22 -0400
commit2792b0092fe7a1feccc784da55be0b12df85ea75 (patch)
treed87787167f57eb46cb6a7dbcbd61ef3867b5fd51
parent596033bd69ad07cb5fdcbe26349142b5fbbe87bb (diff)
downloadsbo-maintainer-tools-2792b0092fe7a1feccc784da55be0b12df85ea75.tar.gz
Cleanup.
-rw-r--r--Makefile1
-rwxr-xr-xsbodl5
-rwxr-xr-xsbofixinfo1
-rwxr-xr-xsbolint2
-rwxr-xr-xsbopkglint4
-rw-r--r--update-version.sh2
6 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index ab47972..df434b6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
PROJ=sbo-maintainer-tools
-# for now, VERSION has to be updated here and also in both scripts.
VERSION=0.8.0
PREFIX=/usr/local
diff --git a/sbodl b/sbodl
index cff2c5e..30c8773 100755
--- a/sbodl
+++ b/sbodl
@@ -7,7 +7,8 @@
# change default cache dir.
# 20170306 bkw: add caching
-VER=0.7.0
+# Don't edit the next line; use "make version" instead.
+VERSION=0.8.0
: <<EOF
=pod
@@ -18,7 +19,7 @@ sbodl - download and/or check md5sums for SlackBuilds.org source files.
=head1 SYNOPSIS
-B<sbopkglint> [-a | -f] [I<wget-options> ...]
+B<sbopkglint> [--help] | [ --version ] | [-a | -f | -af ] [I<wget-options> ...]
=head1 DESCRIPTION
diff --git a/sbofixinfo b/sbofixinfo
index fb41ebf..53b5ea4 100755
--- a/sbofixinfo
+++ b/sbofixinfo
@@ -3,6 +3,7 @@
# sbofixinfo - fix common errors in SBo .info files.
# companion piece to sbolint.
+# Don't edit the next line; use "make version" instead.
$VERSION="0.8.0";
=pod
diff --git a/sbolint b/sbolint
index d4a5c29..241e658 100755
--- a/sbolint
+++ b/sbolint
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
-# note to self: keep this in sync with VER in sbopkglint and VERSION in Makefile.
+# Don't edit the next line; use "make version" instead.
$VERSION="0.8.0";
# old pre-git ChangeLog:
diff --git a/sbopkglint b/sbopkglint
index 9d839ab..ace7f8f 100755
--- a/sbopkglint
+++ b/sbopkglint
@@ -1,8 +1,6 @@
#!/bin/bash
-# 20220408 bkw: note to self: VER must be in sync with VERSION in sbolint
-# and the Makefile.
-
+# Don't edit the next line; use "make version" instead.
VER=0.8.0
: <<EOF
diff --git a/update-version.sh b/update-version.sh
index 5f5bd93..da85c45 100644
--- a/update-version.sh
+++ b/update-version.sh
@@ -11,4 +11,4 @@ fi
sed -i "s,^VER=.*,VER=$VERSION," sbopkglint
sed -i "/^\$VERSION=/s,=.*,=\"$VERSION\";," sbolint sbofixinfo
-sed -i "s,^VERSION=.*,VER=$VERSION," sbodl
+sed -i "s,^VERSION=.*,VERSION=$VERSION," sbodl