summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-10-06 00:10:29 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-10-06 00:10:29 (GMT)
commit72b51859e03c2a09b4e6f3a3d5d4783a8a99f6d4 (patch)
tree024d5831b89dfdb2dbee73497e4bc61ff73082ea /Makefile
parentc14a342cc2ed5c963213571ab412657bdcf2b899 (diff)
downloadlz4-72b51859e03c2a09b4e6f3a3d5d4783a8a99f6d4.zip
lz4-72b51859e03c2a09b4e6f3a3d5d4783a8a99f6d4.tar.gz
lz4-72b51859e03c2a09b4e6f3a3d5d4783a8a99f6d4.tar.bz2
update distribution builder "make dist"
update test, to also verify "make dist"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index b21ae2f..a46cb41 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@
# ################################################################
# Version numbers
-VERSION=123
+VERSION=124
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`
@@ -71,7 +71,8 @@ else
SHARED_EXT_VER = $(SHARED_EXT).$(LIBVER)
endif
-TEXT = lz4.c lz4.h lz4hc.c lz4hc.h \
+TEXT = lz4.c lz4.h lz4hc.c lz4hc.h \
+ lz4frame.c lz4frame.h xxhash.c xxhash.h \
liblz4.pc.in Makefile \
lz4_format_description.txt NEWS LICENSE README.md \
cmake_unofficial/CMakeLists.txt \
@@ -79,10 +80,12 @@ TEXT = lz4.c lz4.h lz4hc.c lz4hc.h \
$(PRGDIR)/datagen.c $(PRGDIR)/fuzzer.c \
$(PRGDIR)/lz4io.c $(PRGDIR)/lz4io.h \
$(PRGDIR)/bench.c $(PRGDIR)/bench.h \
- $(PRGDIR)/xxhash.c $(PRGDIR)/xxhash.h \
$(PRGDIR)/lz4.1 $(PRGDIR)/lz4c.1 $(PRGDIR)/lz4cat.1 \
- $(PRGDIR)/Makefile $(PRGDIR)/COPYING
-NONTEXT = LZ4_Streaming_Format.odt
+ $(PRGDIR)/Makefile $(PRGDIR)/COPYING \
+ LZ4_Framing_Format.html
+NONTEXT = images/image00.png images/image01.png images/image02.png \
+ images/image03.png images/image04.png images/image05.png \
+ images/image06.png
SOURCES = $(TEXT) $(NONTEXT)
@@ -149,6 +152,7 @@ uninstall:
dist: clean
@install -dD -m 700 lz4-$(RELEASE)/programs/
@install -dD -m 700 lz4-$(RELEASE)/cmake_unofficial/
+ @install -dD -m 700 lz4-$(RELEASE)/images/
@for f in $(TEXT); do \
tr -d '\r' < $$f > .tmp; \
install -m 600 .tmp lz4-$(RELEASE)/$$f; \
@@ -163,6 +167,7 @@ dist: clean
@echo Distribution $(DISTRIBNAME) built
test:
+ make dist
@cd examples; $(MAKE) -e $@
@cd $(PRGDIR); $(MAKE) -e $@