]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added /contrib projects to `make all`
authorYann Collet <cyan@fb.com>
Thu, 15 Mar 2018 23:39:59 +0000 (16:39 -0700)
committerYann Collet <cyan@fb.com>
Thu, 15 Mar 2018 23:40:14 +0000 (16:40 -0700)
Makefile
doc/zstd_manual.html

index 47746ab1def4a90a504e9452d51046dd65ed596d..5f4b7935a1f0aa69b0c1ffa598ff08aff6e9bed0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ endif
 default: lib-release zstd-release
 
 .PHONY: all
-all: | allmost examples manual
+all: | allmost examples manual contrib
 
 .PHONY: allmost
 allmost: allzstd
@@ -92,6 +92,11 @@ examples:
 manual:
        $(MAKE) -C contrib/gen_html $@
 
+.PHONY: contrib
+contrib: lib
+       $(MAKE) -C contrib/pzstd all
+       $(MAKE) -C contrib/seekable_format/examples all
+
 .PHONY: cleanTabs
 cleanTabs:
        cd contrib; ./cleanTabs
@@ -104,6 +109,8 @@ clean:
        @$(MAKE) -C $(ZWRAPDIR) $@ > $(VOID)
        @$(MAKE) -C examples/ $@ > $(VOID)
        @$(MAKE) -C contrib/gen_html $@ > $(VOID)
+       @$(MAKE) -C contrib/pzstd $@ > $(VOID)
+       @$(MAKE) -C contrib/seekable_format/examples $@ > $(VOID)
        @$(RM) zstd$(EXT) zstdmt$(EXT) tmp*
        @$(RM) -r lz4
        @echo Cleaning completed
index 7c55363f085d5046153f65d83f7871dc81975209..302b53595df46549f391dfc74f5b83cbd7cbe0d6 100644 (file)
@@ -825,9 +825,9 @@ size_t ZSTD_decodingBufferSize_min(unsigned long long windowSize, unsigned long
 
     ZSTD_p_compressLiterals=1000, </b>/* control huffman compression of literals (enabled) by default.<b>
                               * disabling it improves speed and decreases compression ratio by a large amount.
-                              * note : this setting is updated when changing compression level.
-                              *        positive compression levels set literalCompression to 1.
-                              *        negative compression levels set literalCompression to 0. */
+                              * note : this setting is automatically updated when changing compression level.
+                              *        positive compression levels set ZSTD_p_compressLiterals to 1.
+                              *        negative compression levels set ZSTD_p_compressLiterals to 0. */
 
     ZSTD_p_forceMaxWindow=1100, </b>/* Force back-reference distances to remain < windowSize,<b>
                               * even when referencing into Dictionary content (default:0) */