diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-08-16 14:53:48 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2019-08-16 14:53:48 +0300 |
commit | 12c5eac517cb62728b5525cab25aff245086525c (patch) | |
tree | e02862ddfe301ac0a05fb8e613dc8d0d29564054 | |
parent | 86d62d746d8e2586e1b3a2995f7119d0562145b8 (diff) | |
download | runcap-12c5eac517cb62728b5525cab25aff245086525c.tar.gz runcap-12c5eac517cb62728b5525cab25aff245086525c.tar.bz2 |
Set version number for the standalone library from git describe
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | t/rt.c | 1 |
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,8 +1,8 @@ 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]) # Enable silent rules by default: AM_SILENT_RULES([yes]) @@ -43,12 +43,13 @@ error(char const *fmt, ...) void 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"); fprintf(fp, " -i inline read (use before -f)\n"); fprintf(fp, " -N disable capturing\n"); fprintf(fp, " -n all|stderr|stdout print lines from the requested capture\n"); |