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 /manual | |
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 'manual')
-rw-r--r-- | manual/comp.me | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/comp.me b/manual/comp.me index 8f2d65ee..5907f879 100644 --- a/manual/comp.me +++ b/manual/comp.me @@ -31,7 +31,7 @@ Z@compress \-dc It is a relatively easy operation to include further pairs in this structure. See -.i include/comp_src.h +.i lib/compression.c for details and an example. .lp Support for compressed manual pages is compiled into the \*M utilities by |