summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2019-08-16 11:53:48 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2019-08-16 11:53:48 (GMT)
commit12c5eac517cb62728b5525cab25aff245086525c (patch) (side-by-side diff)
treee02862ddfe301ac0a05fb8e613dc8d0d29564054
parent86d62d746d8e2586e1b3a2995f7119d0562145b8 (diff)
downloadruncap-12c5eac517cb62728b5525cab25aff245086525c.tar.gz
runcap-12c5eac517cb62728b5525cab25aff245086525c.tar.bz2
Set version number for the standalone library from git describe
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac2
-rw-r--r--t/rt.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d4aa1a3..6e92574 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
AC_PREREQ(2.63)
-AC_INIT([libruncap], [1.0], [gray+runcap@gnu.org.ua])
+AC_INIT([libruncap], [m4_esyscmd_s([git describe])], [gray+runcap@gnu.org.ua])
AC_CONFIG_SRCDIR([runcap.c])
AM_INIT_AUTOMAKE([1.11 foreign tar-ustar silent-rules])
diff --git a/t/rt.c b/t/rt.c
index 2c404e2..65310d7 100644
--- a/t/rt.c
+++ b/t/rt.c
@@ -46,6 +46,7 @@ usage(int code)
{
FILE *fp = code ? stderr : stdout;
fprintf(fp, "%s [OPTIONS] COMMAND [ARG...]\n", progname);
+ fprintf(fp, "tests the runcap library\n");
fprintf(fp, "OPTIONS are:\n\n");
fprintf(fp, " -S all|stderr|stdout selects capture for the next -m, -N, or -s option\n");
fprintf(fp, " -f FILE reads stdin from FILE\n");

Return to:

Send suggestions and report system problems to the System administrator.