| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Inspired by a similar change in dpkg. This takes 'mandb -c' from
104 to 32 seconds in a test installation, and 'man -K' from 74 to 38
seconds. On non-Linux systems where FIEMAP is not available, use
posix_fadvise instead to preload files.
Fixes Debian bug #574410.
* gnulib: Import nonblocking and openat modules.
* configure.ac: Check for <linux/fiemap.h> and posix_fadvise.
* lib/orderfiles.c: New file.
* lib/orderfiles.h: New file.
* lib/Makefile.am (libman_la_SOURCES): Add orderfiles.c and
orderfiles.h.
* src/check_mandirs.c (add_dir_entries): Order files before reading
them.
* src/man.c (try_section, do_global_apropos_section): Likewise.
* src/straycats.c (check_for_stray): Likewise.
* NEWS: Document this.
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/man-arg-automatic-create.m4, m4/man-arg-automatic-update.m4,
m4/man-arg-cats.m4, m4/man-arg-config-file.m4, m4/man-arg-db.m4,
m4/man-arg-device.m4, m4/man-arg-mandirs.m4,
m4/man-arg-override-dir.m4, m4/man-arg-sections.m4,
m4/man-arg-setuid.m4, m4/man-arg-systemdtmpfilesdir.m4,
m4/man-arg-undoc.m4: New files.
* configure.ac: Call new macros rather than inlining argument
handling.
|
|
|
|
|
|
|
|
|
| |
* gnulib: Import dirent module.
* configure.ac: Remove obsolescent AC_HEADER_DIRENT macro.
* src/check_mandirs.c: Simplify a large conditional block to
"#include <dirent.h>".
* src/straycats.c: Likewise.
* src/ult_src.c: Likewise.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Substitute STAT_HAS_NSEC as "yes" or "no" depending
on whether high-precision file timestamps are available.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Export STAT_HAS_NSEC to
tests.
* src/tests/testlib.sh (next_second): Do nothing if STAT_HAS_NSEC is
"yes".
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes Fedora bug #1110274.
* configure.ac: Accept --with-systemdtmpfilesdir option.
(AC_CONFIG_FILES): Add init/Makefile and init/systemd/Makefile.
* Makefile.am (SUBDIRS): Add init.
* init/Makefile.am: New file.
* init/systemd/Makefile.am: New file.
* init/systemd/man-db.conf: New file.
* .gitignore: Add init/Makefile and init/systemd/Makefile.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Reported by Peng Yu.
* src/man.c (make_display_command): Set pager_cmd's working
directory to man's original working directory.
* configure.ac: Require libpipeline >= 1.3.0.
* NEWS: Document this.
|
|
|
|
|
| |
This keeps man-db's own tools separate, reducing confusion, and
"build-aux" is a more conventional location for the Autotools files.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Add --with-override-dir option.
* include/manconfig.h.in (OVERRIDE_DIR): New definition.
* src/manp.c (insert_override_dir): New function.
(get_manpath_from_path): Call it before add_dir_to_list.
* src/tests/man-9: New file.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Set and export
OVERRIDE_DIR.
(ALL_TESTS): Add man-9.
* NEWS: Document this.
|
| |
|
| |
|
|
|
|
| |
compatibility with Automake 1.10.
* NEWS: Document this.
|
| |
|
|
|
|
|
| |
control down below check for whether troff is groff, otherwise it
always returns false. Reported by Niels Thykier.
* NEWS: Document this.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wang).
* configure.ac (AC_CONFIG_FILES): Add man/zh_CN/Makefile.
* man/LINGUAS.po4a: Add zh_CN.
* man/Makefile.am (DIST_SUBDIRS): Add zh_CN.
* man/zh_CN/Makefile.am, man/zh_CN/translator.add: New files.
* man/po4a/Makefile.am (POFILES): Add po/zh_CN.po.
* man/po4a/po4a.cfg (po4a_langs): Add zh_CN.
* man/THANKS: Add translator credit.
* .bzrignore: Add man/zh_CN/man1, man/zh_CN/man5, and
man/zh_CN/man8.
|
|
|
|
|
|
| |
(e.g. versions of groff before 1.20), and substitute TBL_X_FORMAT
accordingly.
* man/replace.sin.in: Replace "l lx." with "l l." if tbl does not
support the 'x' format character.
|
|
|
|
|
|
|
|
| |
* src/man.c (default_roff_warnings, roff_warnings): Define if
NROFF_WARNINGS is defined, rather than TROFF_IS_GROFF.
(options): Hide the --warnings option unless NROFF_WARNINGS is
defined.
(parse_opt, make_roff_command): Handle the --warnings option if
NROFF_WARNINGS is defined, rather than TROFF_IS_GROFF.
|
|
|
|
|
|
| |
AC_DEFINE/AC_DEFINE_UNQUOTED.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Export MANDIR_LAYOUT.
* src/tests/testlib.sh (skip): New function.
* src/tests/man-3: Skip unless the GNU layout is in use.
|
|
|
|
| |
*-bsd*.
Test for Berkeley DB in libc, as is the case on FreeBSD.
|
| |
|
|
|
|
|
|
|
|
| |
* configure.ac: Add gl_WARN_ADD results to WARN_CFLAGS rather than
CFLAGS.
* lib/Makefile.am (AM_CFLAGS): Add $(WARN_CFLAGS).
* libdb/Makefile.am (AM_CFLAGS): Likewise.
* src/Makefile.am (AM_CFLAGS): Likewise. Move $(libpipeline_CFLAGS)
here from AM_CPPFLAGS.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .bzrignore: Add gnulib/lib/locale.h, man/**/*.log, man/**/*.trs,
src/tests/*.log, and src/tests/*.trs.
* autogen.sh: Drop gnulib/gets.patch backport.
* gnulib/gets.patch: Remove.
* configure.ac (AM_INIT_AUTOMAKE): Set minimum Automake version to
1.11. Add parallel-tests option for compatibility with 1.11.
* man/Rules.man (TESTS_ENVIRONMENT): Move to ...
(LOG_COMPILER): ... this.
* src/tests/Makefile.am (TESTS_ENVIRONMENT): Rewrite as a list of
variable exports rather than as a command prefix, for
compatibility with parallel-tests.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Hansen).
* configure.ac (AC_CONFIG_FILES): Add man/da/Makefile.
* man/LINGUAS.po4a: Add da.
* man/Makefile.am (DIST_SUBDIRS): Add da.
* man/da/Makefile.am, man/da/translator.add: New files.
* man/po4a/Makefile.am (POFILES): Add po/da.po.
* man/po4a/po4a.cfg (po4a_langs): Add da.
* man/THANKS: Credit Joe Hansen with man/da as well as da.po.
* .bzrignore: Add man/da/man1, man/da/man5, and man/da/man8.
|
| |
|
|
|
|
|
| |
2.6.2.
* configure.ac (AM_INIT_AUTOMAKE): Add no-dist-gzip.
* docs/man-db.lsm (Primary-site): Drop .tar.gz size.
|
|
|
|
| |
with Automake 1.12.
* NEWS: Document this.
|
|
|
| |
* man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
|
|\
| |
| | |
search for.
|
| | |
|
| |
| |
| | |
found.
|
|\ \
| | |
| | | |
* include/comp_src.h.in (comp_list): Likewise.
|
| | |
| | |
| | |
| | | |
lzip doesn't do lzma, and we don't need to check for lzma if we have xz.
|
|/ /
| |
| | |
using xz as well as gzip.
|
| |
| |
| | |
* man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
|
| |
| |
| | |
* man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Makefile.am (distuninstallcheck_listfiles): Ignore the
configuration file, which is deliberately left in place on
uninstall.
* configure.ac (AM_INIT_AUTOMAKE): Add -Wno-override.
* src/Makefile.am (EXTRA_DIST): Force distribution of lexgrog.c and
zsoelim.c.
|
| |
| |
| |
| |
| |
| |
| | |
* configure.ac: Check for lzip. Don't test for lzma if lzip is
present, as was already the case for xz.
* include/comp_src.h.in (comp_list): Add lzip.
* include/manconfig.h.in: Define UNLZIP.
* NEWS: Document this.
|
| |
| |
| | |
* man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
|
| |
| |
| | |
* man/po4a/po/man-db-manpages.pot, po/man-db.pot, po/*.po: Update.
|
| |
| |
| |
| | |
* man/po4a/po/man-db-manpages.pot, man/po4a/po/*.po, po/man-db.pot,
po/*.po: Update.
|
| |
| |
| |
| |
| | |
* lib/Makefile.am (libman_la_SOURCES): Remove flock.h.
* lib/README: Remove flock.*.
* lib/flock.c, lib/flock.h: Remove.
|
| |
| |
| | |
* NEWS: Document this.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* m4/man-bdb.m4: Likewise.
* m4/man-gnu-nroff.m4: Likewise.
* m4/man-linguas.m4: Likewise.
* m4/man-trans-subst.m4: Likewise.
* m4/man-bdb.m4: Use AS_VAR_IF rather than AS_IF plus AS_VAR_GET.
|
| |
| |
| |
| | |
* gnulib: Import warnings module.
* configure.ac: Replace MAN_GCC_WARNING with gl_WARN_ADD.
|
| |
| |
| |
| | |
* po/man-db.pot, po/*.po: Update.
* man/po4a/po/man-db-manpages.pot: Update.
|