diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-07-22 16:25:35 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-07-22 16:25:35 (GMT) |
commit | 9f42b0925d2fa01bde83c72cdeed0a849a69ae9f (patch) | |
tree | c33fb78cc6b85af3d5384aaae2345be2542ec466 /Makefile | |
parent | 2c15ec421ad03a097d5313ef3ed1039644cb74bf (diff) | |
download | lz4-9f42b0925d2fa01bde83c72cdeed0a849a69ae9f.zip lz4-9f42b0925d2fa01bde83c72cdeed0a849a69ae9f.tar.gz lz4-9f42b0925d2fa01bde83c72cdeed0a849a69ae9f.tar.bz2 |
Makefile : synchronize library version number with lz4.h - Thanks to Takayuki Matsuoka
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -33,9 +33,9 @@ # Version numbers VERSION=120 export RELEASE=r$(VERSION) -LIBVER_MAJOR=1 -LIBVER_MINOR=3 -LIBVER_PATCH=0 +LIBVER_MAJOR=`sed -n '/LZ4_VERSION_MAJOR/s/.*\s\+\([0-9]\+\).*/\1/p' < lz4.h` +LIBVER_MINOR=`sed -n '/LZ4_VERSION_MINOR/s/.*\s\+\([0-9]\+\).*/\1/p' < lz4.h` +LIBVER_PATCH=`sed -n '/LZ4_VERSION_RELEASE/s/.*\s\+\([0-9]\+\).*/\1/p' < lz4.h` LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH) DESTDIR= |