[network-manager-applet] meson: drop NMA_GIT_SHA
- From: Lubomir Rintel <lkundrak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] meson: drop NMA_GIT_SHA
- Date: Tue, 7 Nov 2017 18:19:21 +0000 (UTC)
commit 2785ca9f14a15575e5ddafe19af7e17ea19ef96c
Author: Lubomir Rintel <lkundrak v3 sk>
Date: Tue Nov 7 19:00:50 2017 +0100
meson: drop NMA_GIT_SHA
It's only used for inclusion in dist's generated configure. Meson
doesn't do generated dist files.
config.h.meson | 3 ---
meson.build | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/config.h.meson b/config.h.meson
index 0c71ba5..2874b62 100644
--- a/config.h.meson
+++ b/config.h.meson
@@ -60,9 +60,6 @@
/* ISO codes prefix */
#mesondefine ISO_CODES_PREFIX
-/* git commit id of the original source code version */
-#mesondefine NMA_GIT_SHA
-
/* Define if more asserts are enabled */
#mesondefine NM_MORE_ASSERTS
diff --git a/meson.build b/meson.build
index c020700..c8583c6 100644
--- a/meson.build
+++ b/meson.build
@@ -69,9 +69,6 @@ foreach define: set_defines
config_h.set_quoted(define[0], define[1])
endforeach
-res = run_command(find_program('git'), 'rev-parse', '--verify', '-q', 'HEAD')
-config_h.set_quoted('NMA_GIT_SHA', res.stdout().strip())
-
# headers
check_headers = [
['HAVE_DLFCN_H', 'dlfcn.h'],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]