diff options
author | Cyrill Gorcunov <gorcunov@openvz.org> | 2015-04-16 15:13:26 +0300 |
---|---|---|
committer | Pavel Emelyanov <xemul@parallels.com> | 2015-04-21 16:07:23 +0300 |
commit | 1b406338d214f6079eea0c3c270d06d1a197e7f9 (patch) | |
tree | 7007e6d1d480ff0b0a2f2c0cc51835ce734cfe9a /.gitignore | |
parent | 58ef9bc4f2f26e03a5930604fa858618b5126ce0 (diff) |
make: Rebuild version if git commit id is changed
Original message from Tycho:
This might be a slightly controversial change since it always causes crtools.h
to be rebuilt, which may be annoying. However, right now version.h is only
generated on the initial git build and never again touched, which is also
incorrect.
We could potentially do something fancy by monitoring .git/HEAD for changes,
but since it may not always exist if building from a tarball, it is a little
sticky.
CC: Andersen <tycho.andersen@canonical.com>
CC: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Acked-by: Tycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 3f284972a..b97a96e8f 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,4 @@ include/config.h protobuf-desc-gen.h criu.pc build +.gitid |