public inbox for cygwin-cvs@sourceware.org help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org> To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: Makefile.am: fix rule to create version from git describe Date: Wed, 15 Feb 2023 14:04:30 +0000 (GMT) [thread overview] Message-ID: <20230215140430.665003858D35@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=be67844f5da8cb6fb4c39cfdb3460e6955660b8e commit be67844f5da8cb6fb4c39cfdb3460e6955660b8e Author: Corinna Vinschen <corinna@vinschen.de> AuthorDate: Wed Feb 15 15:04:16 2023 +0100 Commit: Corinna Vinschen <corinna@vinschen.de> CommitDate: Wed Feb 15 15:04:16 2023 +0100 Cygwin: Makefile.am: fix rule to create version from git describe Signed-off-by: Corinna Vinschen <corinna@vinschen.de> Diff: --- winsup/cygwin/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/Makefile.am b/winsup/cygwin/Makefile.am index 125358b4b313..c34ca6ddc3b9 100644 --- a/winsup/cygwin/Makefile.am +++ b/winsup/cygwin/Makefile.am @@ -430,7 +430,8 @@ uname_version.c: .FORCE $(AM_V_GEN)cd $(srcdir) && \ echo "const char *uname_dev_version = \ \"$$(git rev-parse --git-dir >/dev/null 2>&1 && \ - git describe --dirty | sed -e 's/cygwin-//')\";" \ + git describe --abbrev=12 --long --match 'cygwin*' --dirty | \ + sed -e 's/cygwin-//')\";" \ > $(abs_builddir)/uname_version-pre.c && \ if [ -f $(abs_builddir)/uname_version.c ] && \ cmp $(abs_builddir)/uname_version.c \
reply other threads:[~2023-02-15 14:04 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230215140430.665003858D35@sourceware.org \ --to=corinna@sourceware.org \ --cc=cygwin-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).