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 /Makefile.am | |
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 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index e6ca7158..82f22350 100644 --- a/Makefile.am +++ b/Makefile.am @@ -27,7 +27,7 @@ endif SUBDIRS = docs gl/lib $(GNULIB_PO) init lib libdb src man manual po tools dist_noinst_DATA = FAQ README.md -noinst_HEADERS = include/comp_src.h include/manconfig.h +noinst_HEADERS = include/manconfig.h EXTRA_DIST = \ .gitignore \ |