Skip to contentSkip to conversation

Use gzip for manpage compression

PATCH In review Bernhard Walle 2 participants 2 messages Sep 9, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use gzip for manpage compression

Use gzip instead of zip for manual page compression. That's the usual method of compressing manual pages on Unix.

1 file changed, 1 insertion(+), 1 deletion(-)

Makefile | 2 +-

Use gzip instead of zip for manual page compression. That's the usual method of compressing manual pages on Unix.

Makefile +1 -1
@@ -31,7 +31,7 @@
 
 makedumpfile: $(SRC) $(OBJ_ARCH)
 	$(CC) $(CFLAGS) $(OBJ_ARCH) -o $@ $< -static -ldw -lelf -lz
-	zip ./makedumpfile.8.gz ./makedumpfile.8
+	gzip -c ./makedumpfile.8 > ./makedumpfile.8.gz
 
 clean:
 	rm -f $(OBJ) $(OBJ_ARCH) makedumpfile makedumpfile.8.gz

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#1 lore raw

Hi Bernhard,

Quoted 5 lines · Bernhard Walle

Use gzip instead of zip for manual page compression. That's the usual method of compressing manual pages on Unix.

Thank you for the patch.
After applying your patch, the file size of manpage is reduced. (3774bytes -> 3647bytes).
The patch will be applied to the next release.

Thanks
Ken'ichi Ohmichi

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec