updated dict graphs to 2D mode
diff --git a/NEWS b/NEWS
index 407f3b8..7d9c9c9 100644
--- a/NEWS
+++ b/NEWS
@@ -5,7 +5,7 @@
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 f555a46..f3a9ce2 100644
--- a/doc/images/dict-cr.png
+++ b/doc/images/dict-cr.png
Binary files differ
diff --git a/doc/images/dict-cs.png b/doc/images/dict-cs.png
index ccc02b0..55e5ef5 100644
--- a/doc/images/dict-cs.png
+++ b/doc/images/dict-cs.png
Binary files differ
diff --git a/doc/images/dict-ds.png b/doc/images/dict-ds.png
index 858cad6..1153f1b 100644
--- a/doc/images/dict-ds.png
+++ b/doc/images/dict-ds.png
Binary files differ
diff --git a/programs/Makefile b/programs/Makefile
index 491b3ed..0c920a8 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -106,6 +106,7 @@
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 <lzma.h>\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 @@
else
LZMA_MSG := $(NO_LZMA_MSG)
endif
+
# lz4 detection
NO_LZ4_MSG := ==> no liblz4, building zstd without .lz4 support
HAVE_LZ4 := $(shell printf '\#include <lz4frame.h>\n\#include <lz4.h>\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 @@
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_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' > $@