diff options
author | Colin Watson <cjwatson@debian.org> | 2022-09-23 22:07:55 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-09-23 22:07:55 +0100 |
commit | 312e096ceb9e41f1d96734a0734934e89e9226ad (patch) | |
tree | 87eabeb03b6bd56dafbe17ee6ec792bbef29268c /README.md | |
parent | 4cbb67968dd3db7f0140ca50489683c892cd5a10 (diff) |
Move compression file name utilities to lib/
This makes more sense as a home for plain file name manipulation
utilities. I also merged `include/comp_src.h.in` into
`lib/compression.c`, because structure definitions (as opposed to
declarations) don't belong in header files.
* src/compression.c: Move to ...
* lib/compression.c: ... here. Remove unnecessary `pipeline.h` include.
* src/compression.h: Move to ...
* lib/compression.h: ... here. Update positioning of all includes.
* lib/Makefile.am (libman_la_SOURCES): Add `compression.c` and
`compression.h`.
* lib/README: Add `compression.*`.
* src/Makefile.am (lexgrog_SOURCES, man_SOURCES, man_recode_SOURCES,
mandb_SOURCES): Remove `compression.c` and `compression.h`.
* include/comp_src.h (comp_list): Move to ...
* lib/compression.c (comp_list): ... here. Update all references.
* include/manconfig.h (struct compression, comp_list): Move to ...
* lib/compression.h (struct compression, comp_list): ... here. Add
includes where necessary.
* Makefile.am (noinst_HEADERS): Remove `include/comp_src.h`.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -175,7 +175,7 @@ configuration process: * `include/manconfig.h` regarding the default section list and other specific definitions. -* `include/comp_src.h` if the default compressor support is +* `lib/compression.c` if the default compressor support is inadequate for your requirements. (Usually `.Z` [compress], `.z`, `.gz` [gzip].) |