summaryrefslogtreecommitdiff
path: root/examples/ruby
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-12-17 00:15:27 +0100
committerThomas Haller <thaller@redhat.com>2014-12-17 14:55:38 +0100
commit83cb0aa0fca19e55cf96c10303bca414b44e2bbc (patch)
tree070ca60d729a236a113aea39631caa6672b71a63 /examples/ruby
parent2d5822f2642ae5ccb5cca9480fe8e688ced7526b (diff)
downloadNetworkManager-th/bgo741651.tar.gz
build: embed git-commit-id as string inside the compiled libnmth/bgo741651
In the 'configure.ac' script we already detect the git commit id for the current source version. When creating a tarball, it is also included inside the generated 'configure' script. Add the commit id as a static string to nm-utils.c. That way, having a build of libnm.so or NetworkManager, you can quickly find the corresponding git commit: strings src/NetworkManager | grep NM_GIT_SHA Note that this only works after a new autogen.sh. Simply rebuilding is not enough. Hence, to ensure that you have the right commit id embedded, rebuild cleanly.
Diffstat (limited to 'examples/ruby')
0 files changed, 0 insertions, 0 deletions