summaryrefslogtreecommitdiffstats
path: root/hdlcutil/fl
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-23 11:03:56 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-24 00:36:42 +0100
commit8854e46a50a0272578599d2fcd8d1fb363e19c38 (patch)
treecc2eb4055cd19d176b5e4669357906055b1ccba6 /hdlcutil/fl
parent47349482ee7b737c3cd2a8a1acb18fc3d9b95b0a (diff)
Add a git suffix to the version number used by all programs.
This uses a setlocalversion script derived from the kernel's scripts/setlocalversion. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil/fl')
-rw-r--r--hdlcutil/fl/xfhdlcchpar_main.cxx3
-rw-r--r--hdlcutil/fl/xfhdlcst_main.cxx3
-rw-r--r--hdlcutil/fl/xfsmdiag_main.cxx3
-rw-r--r--hdlcutil/fl/xfsmmixer_main.cxx3
4 files changed, 8 insertions, 4 deletions
diff --git a/hdlcutil/fl/xfhdlcchpar_main.cxx b/hdlcutil/fl/xfhdlcchpar_main.cxx
index 486412b..f03b101 100644
--- a/hdlcutil/fl/xfhdlcchpar_main.cxx
+++ b/hdlcutil/fl/xfhdlcchpar_main.cxx
@@ -42,6 +42,7 @@
#include "xfhdlcchpar.h"
#include <config.h>
+#include <scm-version.h>
/* ---------------------------------------------------------------------- */
@@ -86,7 +87,7 @@ int main(int argc, char *argv[])
struct hdrvc_channel_params cp;
progname = *argv;
- printf("%s: Version " VERSION "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", progname);
+ printf("%s: Version " FULL_VER "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", progname);
hdrvc_args(&argc, argv, "bc0");
for (i = 1; i < argc; ) {
c = i;
diff --git a/hdlcutil/fl/xfhdlcst_main.cxx b/hdlcutil/fl/xfhdlcst_main.cxx
index 5959d24..421805a 100644
--- a/hdlcutil/fl/xfhdlcst_main.cxx
+++ b/hdlcutil/fl/xfhdlcst_main.cxx
@@ -42,6 +42,7 @@
#include "xfhdlcst.h"
#include <config.h>
+#include <scm-version.h>
/* ---------------------------------------------------------------------- */
@@ -82,7 +83,7 @@ int main(int argc, char *argv[])
char name[64];
progname = *argv;
- printf("%s: Version " VERSION "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
+ printf("%s: Version " FULL_VER "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
hdrvc_args(&argc, argv, "bc0");
for (i = 1; i < argc; ) {
c = i;
diff --git a/hdlcutil/fl/xfsmdiag_main.cxx b/hdlcutil/fl/xfsmdiag_main.cxx
index d56ebfa..fa58f0f 100644
--- a/hdlcutil/fl/xfsmdiag_main.cxx
+++ b/hdlcutil/fl/xfsmdiag_main.cxx
@@ -51,6 +51,7 @@
#include <FL/fl_draw.H>
#include <config.h>
+#include <scm-version.h>
/* ---------------------------------------------------------------------- */
@@ -357,7 +358,7 @@ int main(int argc, char *argv[])
char name[64];
progname = *argv;
- printf("%s: Version " VERSION "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
+ printf("%s: Version " FULL_VER "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", *argv);
hdrvc_args(&argc, argv, "sm0");
for (i = 1; i < argc; ) {
diff --git a/hdlcutil/fl/xfsmmixer_main.cxx b/hdlcutil/fl/xfsmmixer_main.cxx
index 57e4701..fd7c222 100644
--- a/hdlcutil/fl/xfsmmixer_main.cxx
+++ b/hdlcutil/fl/xfsmmixer_main.cxx
@@ -42,6 +42,7 @@
#include "xfsmmixer.h"
#include <config.h>
+#include <scm-version.h>
/* ---------------------------------------------------------------------- */
@@ -316,7 +317,7 @@ int main(int argc, char *argv[])
unsigned char mdata;
progname = *argv;
- printf("%s: Version " VERSION "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", progname);
+ printf("%s: Version " FULL_VER "; (C) 1996,1997,2000 by Thomas Sailer HB9JNX/AE4WA\n", progname);
hdrvc_args(&argc, argv, "sm0");
for (i = 1; i < argc; ) {
c = i;