[sr-dev] [kamailio/kamailio] src/Makefile: fix source code revision output (#1560)

Mikko Lehto notifications at github.com
Mon Jun 11 18:29:11 CEST 2018


I noticed that ```kamailio -I``` and ```kamailio -V``` do not give git version hash anymore.

This commit fixes at least kamailio -I and -V output, I think.

I don't know / remember if further adjustment is needed for other REPO_ constants.

# Before

```
#define REPO_VER ""
#define REPO_HASH "unknown"
#define REPO_STATE ""
```
```
$ src/kamailio -I|grep Source
Source code revision ID: unknown
```

# After
```
#define REPO_VER "5c48b2"
#define REPO_HASH "5c48b2"
#define REPO_STATE ""
```
```
$ src/kamailio -I|grep Source
Source code revision ID: 5c48b2
```
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1560

-- Commit Summary --

  * src/Makefile: adjust Makefile to populate REPO_ variables in autover.h again

-- File Changes --

    M src/Makefile (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1560.patch
https://github.com/kamailio/kamailio/pull/1560.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1560
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180611/cc558113/attachment-0001.html>


More information about the sr-dev mailing list