summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-08-06 07:55:08 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-08-06 07:55:08 (GMT)
commit4ea832b8ff1d43c779a1c41dc3e3d6ff418143a4 (patch)
treea653e0420f39a5bda048250c6c696afe77234902 /Makefile
parenta0755949b6f2e01c5a7d10a8aa6cbc11ac7504aa (diff)
downloadlz4-4ea832b8ff1d43c779a1c41dc3e3d6ff418143a4.zip
lz4-4ea832b8ff1d43c779a1c41dc3e3d6ff418143a4.tar.gz
lz4-4ea832b8ff1d43c779a1c41dc3e3d6ff418143a4.tar.bz2
Updated Makefile : make dist
Minor formatting changes for xxhash
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 23251e0..ebbe44d 100644
--- a/Makefile
+++ b/Makefile
@@ -33,9 +33,9 @@
# Version numbers
VERSION=121
export RELEASE=r$(VERSION)
-LIBVER_MAJOR=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h`
-LIBVER_MINOR=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h`
-LIBVER_PATCH=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < lz4.h`
+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=
@@ -72,9 +72,11 @@ else
endif
TEXT = lz4.c lz4.h lz4hc.c lz4hc.h \
- lz4_format_description.txt Makefile NEWS LICENSE README.md \
+ liblz4.pc.in Makefile \
+ lz4_format_description.txt NEWS LICENSE README.md \
cmake_unofficial/CMakeLists.txt \
- $(PRGDIR)/fullbench.c $(PRGDIR)/fuzzer.c $(PRGDIR)/lz4cli.c \
+ $(PRGDIR)/fullbench.c $(PRGDIR)/lz4cli.c \
+ $(PRGDIR)/datagen.c $(PRGDIR)/fuzzer.c \
$(PRGDIR)/lz4io.c $(PRGDIR)/lz4io.h \
$(PRGDIR)/bench.c $(PRGDIR)/bench.h \
$(PRGDIR)/xxhash.c $(PRGDIR)/xxhash.h \