| 1 |
Description: Specify options for gzip at the invocation by makedoc |
| 2 |
We used to use the environment variable, like GZIP='-9 -n' |
| 3 |
But this usage was deprecated. |
| 4 |
Author: NIIBE Yutaka <[email protected]> |
| 5 |
Last-Update: 2024-12-06 |
| 6 |
|
| 7 |
Index: gauche/doc/makedoc.scm |
| 8 |
=================================================================== |
| 9 |
--- gauche.orig/doc/makedoc.scm |
| 10 |
+++ gauche/doc/makedoc.scm |
| 11 |
@@ -60,7 +60,7 @@ |
| 12 |
(not (check-makeinfo-version makeinfo "5.0")) |
| 13 |
(and (do-process (make-cmd `(,makeinfo ,input))) |
| 14 |
(begin (remove-files (glob #"~|info|*.gz")) |
| 15 |
- (do-process (make-cmd `(,gzip "-n" ,info ,@(glob #"~|info|-[0-9]*")))))))) |
| 16 |
+ (do-process (make-cmd `(,gzip "--best" "-n" ,info ,@(glob #"~|info|-[0-9]*")))))))) |
| 17 |
|
| 18 |
(define (do-html input makeinfo) |
| 19 |
(or (string-null? makeinfo) |