diff options
author | Colin Watson <cjwatson@debian.org> | 2022-09-23 22:56:44 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-09-23 22:56:45 +0100 |
commit | fdf2f3db554c777cf40d7e26b947f33a67b67b46 (patch) | |
tree | bb28c26a7c7aa03233fd1637bdb0f0b737490562 /po | |
parent | c75db17332c9154c0b1648e022e0f2d6f4ca6e7a (diff) |
Move manual page file name utilities to lib/
* src/filenames.c: Move to ...
* lib/filenames.c: ... here.
* src/filenames.h: Move to ...
* lib/filenames.h: ... here. Update positioning of all includes.
* lib/Makefile.am (libman_la_SOURCES): Add `filenames.c` and
`filenames.h`.
* src/Makefile.am (man_recode_LDADD): Link with `$(LIBMAN)` instead of
`$(LIBMANDB)`.
(lexgrog_SOURCES, man_SOURCES, mandb_SOURCES): Remove `filenames.c` and
`filenames.h`.
* po/POTFILES.in: Rename `src/filenames.c` to `lib/filenames.c`.
* lib/filenames.c (gripe_bogus_manpage): Remove `quiet < 2` condition.
(filename_info): Add `warn_if_bogus` parameter; only call
`gripe_bogus_manpage` if it is set. Update all callers.
* lib/filename.h (filename_info): Update prototype.
* libdb/db_storage.h (struct mandata): Move to ...
* lib/filenames.h (struct mandata): ... here. Add includes where
necessary.
Diffstat (limited to 'po')
-rw-r--r-- | po/POTFILES.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in index d2fa2e6e..3049ea50 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,4 +1,5 @@ lib/compression.c +lib/filenames.c lib/pathsearch.c lib/security.c lib/xregcomp.c @@ -10,7 +11,6 @@ src/accessdb.c src/catman.c src/check_mandirs.c src/descriptions_store.c -src/filenames.c src/globbing_test.c src/lexgrog.l src/lexgrog_test.c |