diff --git a/NEWS b/NEWS index 407f3b8a..7d9c9c94 100644 --- a/NEWS +++ b/NEWS @@ -5,7 +5,7 @@ cli : new : zstdmt symlink hardwired to `zstd -T0` cli : new : command --threads=# (#671) cli : changed : cover dictionary builder by default, for improved quality, by Nick Terrell cli : new : commands --train-cover and --train-legacy, to select dictionary algorithm and parameters -cli : new : experimental target `zstd4`, with support for lz4 format, by Sean Purcell +cli : experimental targets `zstd4` and `xzstd4`, with support for lz4 format, by Sean Purcell cli : fix : does not output compressed data on console cli : fix : ignore symbolic links unless --force specified, API : breaking change : ZSTD_createCDict_advanced(), only use compressionParameters as argument diff --git a/doc/images/dict-cr.png b/doc/images/dict-cr.png index f555a46c..f3a9ce2b 100644 Binary files a/doc/images/dict-cr.png and b/doc/images/dict-cr.png differ diff --git a/doc/images/dict-cs.png b/doc/images/dict-cs.png index ccc02b0d..55e5ef51 100644 Binary files a/doc/images/dict-cs.png and b/doc/images/dict-cs.png differ diff --git a/doc/images/dict-ds.png b/doc/images/dict-ds.png index 858cad68..1153f1b9 100644 Binary files a/doc/images/dict-ds.png and b/doc/images/dict-ds.png differ diff --git a/programs/Makefile b/programs/Makefile index 491b3ed3..0c920a87 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -106,6 +106,7 @@ ZLIBLD = -lz else ZLIB_MSG := $(NO_ZLIB_MSG) endif + # lzma detection NO_LZMA_MSG := ==> no liblzma, building zstd without .xz/.lzma support HAVE_LZMA := $(shell printf '\#include \nint main(void) { return 0; }' | $(CC) $(FLAGS) -o have_lzma$(EXT) -x c - -llzma 2> $(VOID) && rm have_lzma$(EXT) && echo 1 || echo 0) @@ -116,6 +117,7 @@ LZMALD = -llzma else LZMA_MSG := $(NO_LZMA_MSG) endif + # lz4 detection NO_LZ4_MSG := ==> no liblz4, building zstd without .lz4 support HAVE_LZ4 := $(shell printf '\#include \n\#include \nint main(void) { return 0; }' | $(CC) $(FLAGS) -o have_lz4$(EXT) -x c - -llz4 2> $(VOID) && rm have_lz4$(EXT) && echo 1 || echo 0) @@ -127,9 +129,6 @@ else LZ4_MSG := $(NO_LZ4_MSG) endif -MD2ROFF =ronn -MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="zstd $(ZSTD_VERSION)" - .PHONY: default all clean clean_decomp_o install uninstall generate_res default: zstd-release @@ -221,6 +220,9 @@ clean: clean_decomp_o: @$(RM) $(ZSTDDECOMP_O) +MD2ROFF = ronn +MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="zstd $(ZSTD_VERSION)" + zstd.1: zstd.1.md cat $^ | $(MD2ROFF) $(MD2ROFF_FLAGS) | sed -n '/^\.\\\".*/!p' > $@