# ################################################################
# 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`
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 \
$(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)
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; \
@echo Distribution $(DISTRIBNAME) built
test:
+ make dist
@cd examples; $(MAKE) -e $@
@cd $(PRGDIR); $(MAKE) -e $@