]> git.proxmox.com Git - mirror_spl-debian.git/commit - config/spl-meta.m4
Use 'git describe' for working builds
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Mar 2013 18:27:20 +0000 (11:27 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 22 Mar 2013 22:00:55 +0000 (15:00 -0700)
commitc14183adcabd020b72c29f224f94bd90f9cead12
tree1620a97b4ffdca2ded43c237baa31b615da85191
parentfeaf1e321da97ab0aaa60edc121fb6aa2d03952d
Use 'git describe' for working builds

When building from an arbitrary commit in the git tree it's useful
for the resulting packages to be uniquely identifiable.  Therefore,
the build system has been updated to detect if your compiling in
git tree.

If you are building in a git tree, and there are commits after the
last annotated tag.  Then the <id>-<hash> component of 'git describe'
will be used to overwrite the 'Release:' field in the META file.

The only tricky part is that to ensure the 'make dist' tarball is
built using the correct release.  A dist-hook was added to the top
level make file to rewrite the META file using the correct release.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #195
Issue #111
Makefile.am
config/spl-meta.m4