summaryrefslogtreecommitdiff
path: root/locate/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* maint: update copyright year number rangesBernhard Voelker2023-01-011-1/+1
| | | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. * tests/sample-test: Adjust to use the single most recent year. * All other files: Update copyright years via the above make run.
* maint: update copyright year number rangesBernhard Voelker2022-01-021-1/+1
| | | | | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. The format of the copyright year number range in Texinfo files is "YEAR1--YEAR2" now, i.e., with 2x '-'. * tests/sample-test: Adjust to use the single most recent year. * All other files: Update copyright years via the above make run.
* build: fix linking on AIX7.2v4.8.0Bernhard Voelker2021-01-091-1/+1
| | | | | | | | | | | | | | | | | | Linking on AIX7.2 fails: ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock Bruno Haible noticed that $(LIB_MBRTOWC) and $(LIB_SETLOCALE_NULL) expand to -lpthread on that platform, so let's add them to LDADD. Maybe we should better depend on a 'gnulib.mk' file generated by 'gnulib-import' in the long run, but let's fix this issue with the simpler solution for now. * find/Makefile.am (LDADD): Add $(LIB_SETLOCALE_NULL) and $(LIB_MBRTOWC). * locate/Makefile.am (LDADD): Likewise. * xargs/Makefile.am (LDADD): Likewise. * lib/Makefile.am (regexprops_LDADD): Add definition.
* maint: update copyright year number rangesBernhard Voelker2021-01-021-1/+1
| | | | | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. The format of the copyright year number range in Texinfo files is "YEAR1--YEAR2" now, i.e., with 2x '-'. * tests/sample-test: Likewise, here to avoid starting a year number range. * All other files: Update copyright years via the above make run.
* maint: update copyright year number rangesBernhard Voelker2020-01-011-1/+1
| | | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. * tests/sample-test: Likewise, here to avoid starting a year number range. * All other files: Update copyright years via the above make run.
* maint: update copyright year number rangesBernhard Voelker2019-01-041-1/+1
| | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. * All other files: Update copyright years via the above make run.
* build: port generating updatedb to the BSDsBernhard Voelker2018-03-141-1/+1
| | | | | | | | | | | sed(1) on FreeBSD-11.1 and OpenBSD 6.2 requires the last command inside '{...}' groups to be terminated with a semicolon, otherwise it fails with: sed: 1: "/^# Copyright /{s/^..// ...: extra characters at the end \ of q command * locate/Makefile.am (updatedb): Add a ';' after the last command in the '{...}' group - introduced in commit v4.6.0-133-g6d186665.
* build: avoid use of $(RM)Bernhard Voelker2018-03-141-1/+1
| | | | | | | | | | | Some make implementations, e.g. on NetBSD 7.1, lack it; therefore avoid it in order to prevent error messages during 'make clean'. * Makefile.am (coverage-clean): Replace $(RM) by 'rm -f'. * find/Makefile.am: Likewise. * lib/Makefile.am: Likewise. * locate/Makefile.am: Likewise. * xargs/Makefile.am: Likewise.
* maint: update copyright year number rangesBernhard Voelker2018-01-011-1/+1
| | | | | | | Run 'make update-copyright'. * lib/regexprops.c (copying): Update the year number manually. * All other files: Update copyright years via the above make run.
* updatedb: use Copyright header of updatedb.shBernhard Voelker2017-10-301-0/+3
| | | | | | | | | | | Previously, the Copyright header output by 'updatedb --version' was not updated by 'make update-copyright', so it still showed 2010 as the Copyright year. * locate/updatedb.sh (version): Replace the Copyright header by the placeholder "@COPYRIGHT@" ... * locate/Makefile.am (updatedb): ... set here from the Copyright line extracted from 'updatedb.sh'.
* maint: add copyright header to more filesBernhard Voelker2017-10-231-0/+16
| | | | | | | | | | | | * Makefile.am: Add copyright header. * README: Likewise. * TODO: Likewise. * doc/perm.texi: Likewise; use 1994-2017 as Kevin brought it into findutils from coreutils. * find/Makefile.am: Add copyright header. * lib/Makefile.am: Likewise. * locate/Makefile.am: Likewise. * xargs/Makefile.am: Likewise.
* updatedb: use the common definitions of the bug-report URL etc.James Youngman2016-01-251-0/+3
| | | | | | | | | | | | | | | * locate/Makefile.am (updatedb): Substitute PACKAGE_BUGREPORT, PACKAGE_BUGREPORT_URL and PACKAGE_URL. We do this in the Makefile directly since updatedb.sh is not an output file generated directly by configure (instead, it's generated by the Makefile itself). * configure.ac (PACKAGE_BUGREPORT_URL): AC_DEFINE defines only a preprocessor macro. In order to get a similar effect for substituted output files, we need to use AC_SUBST. Hence introduce a shell variable $bugreport_url which we pass to both AC_SUBST and AC_DEFINE_UNQUOTED (replacing the previous call to AC_DEFINE). * locate/updatedb.sh (usage): Use PACKAGE_URL and PACKAGE_BUGREPORT_URL.
* updatedb: Remove support for the old pre-4.0 database format.James Youngman2016-01-101-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * locate/testsuite/Makefile.am (EXTRA_DIST_EXP): Remove locate.gnu/old_prefix.exp and locate.gnu/oldformat.exp. (EXTRA_DIST_XO): Remove locate.gnu/old_prefix.xo and locate.gnu/oldformat.xo. * doc/find.texi (Database Formats): Remove the warning about old versions of locate failing to read the LOCATE02 database format. Mention that the slocate database format is also supported. (Old Database Format): Point out that updatedb will no longer produce the old format. (Invoking updatedb): Remove mention of the --old-format option. Remove mention of --dbformat=old. (Long File Name Bugs with Old-Format Databases): Remove this section. * locate/updatedb.sh: remove support for --dbformat=old and --old-format. (checkbinary): Don't look for the bigram and code binaries. * locate/updatedb.1: Explain that support for the old database format has been removed from updatedb and will shortly be removed from locate also. Remove the documentation for the removed option --old-format and mention of --dbformat-old. * locate/code.c: remove since this program was only used to generate old-format databases. * locate/bigram.c: remove since this program was only used to generate old-format databases. * po/POTFILES.in: Remove bigram.c and code.c. * locate/word_io.c (putword): Remove this function, since it was only needed for making old-format databases. * find/find.1 (NON-BUGS): Don't mention bigram.c and code.c in the example. * locate/locatedb.h: Remove declaration of putword, which has been deleted. * locate/Makefile.am (libexec_PROGRAMS): Remove bigram and code (since they were only used to generate old-format databases). (updatedb): Don't substitute @bigram@ and @code@. (code_SOURCES): Delete. * locate/testsuite/locate.gnu/old_prefix.exp: delete test case for the old database format. * locate/testsuite/locate.gnu/old_prefix.xo: Likewise. * locate/testsuite/locate.gnu/oldformat.exp: Likewise. * locate/testsuite/locate.gnu/oldformat.xo: Likewise. * TODO: manpages for bigram and code are no longer needed. * NEWS: Mention these changes.
* maint: Remove --I../intl from AM_CPPFLAGS; the directory is gone.James Youngman2016-01-031-1/+1
| | | | | | | | * find/Makefile.am (AM_CPPFLAGS): Remove -I../intl, since that directory does not exist; it was removed in 2006 by Paul Eggert (commit 9499a434f9da547373fa9d236cb397717ebb0c50). * locate/Makefile.am (AM_CPPFLAGS): Likewise. * xargs/Makefile.am (AM_CPPFLAGS): Likewise.
* Don't include dblocation.texi from original spot, symlink it.James Youngman2015-05-091-2/+2
| | | | | | | | | | | | | | * doc/Makefile.am (dblocation.texi): Create this as a symbolic link. We do this because Automake now invokes texi2dvi in "tidy" mode and hence changes the working directory. That means that relative path includes no longer works in Texinfo files, so we need to avoid doing that. Avoid distributing dblocation.texi (since tar would dereference the symbolic link when making the source archive, since the -h option is passed). * doc/find.texi: Include dblocation.texi instead of ../locate/dblocation.texi. * configure.ac: use AC_PROG_LN_S. * locate/Makefile.am (EXTRA_DIST): Don't distribute dblocation.texi.
* Bugfix to "make clean": do not delete header files.James Youngman2013-03-241-10/+8
| | | | | | | | | | | | | | | | * lib/Makefile.am (coverage-clean): Remove output files left behind by gcc -fprofile-arcs -ftest-coverage by using $(RM) with a glob pattern rather than a $(libfindtools_a_SOURCES.c=.gcno) Makefile substitution, because the latter caused us to delete header files entirely (their names do not end in .c). This had meant that it was impossible to compile findutils after "make clean". Bug report by David Gilbert. * find/Makefile.am (coverage-clean): Likewise. * xargs/Makefile.am (coverage-clean): Likewise. * locate/Makefile.am (coverage-clean): Likewise. * Makefile.am (coverage-clean): Likewise, but also do this in the subdirectories whose Makefile.am files are generated by gnulib-tool.
* Avoid using 'INCLUDES =' in automake templates.Kamil Dudka2013-02-031-1/+1
| | | | | | | * find/Makefile.am: Use AM_CPPFLAGS instead of deprecated INCLUDES. * lib/Makefile.am: Likewise. * locate/Makefile.am: Likewise. * xargs/Makefile.am: Likewise.
* Remove test-coverage output files for "make clean".James Youngman2011-06-211-1/+11
| | | | | | | | | * find/Makefile.am (CLEANFILES): Clean the .gcda and .gcdo files which are produced by running programs that were compile with gcc -fprofile-arcs -ftest-coverage. * lib/Makefile.am (CLEANFILES): Likewise. * locate/Makefile.am (CLEANFILES): Likewise. * xargs/Makefile.am (CLEANFILES): Likewise.
* Enable sc_makefile_at_at_check; fix problems it identifies.James Youngman2011-06-121-2/+2
| | | | | | | | * lib/Makefile.am: Use $(FINDLIBOBJS) instead of @FINDLIBOBJS@. * find/Makefile.am (LDADD): Use $(FINDLIBS) instead of @FINDLIBS@. * locate/Makefile.am (updatedb): Use $(VERSION) and $(PACKAGE_NAME) instead of @VERSION@ and @PACKAGE_NAME@. * cfg.mk: remove sc_makefile_at_at_check from local-checks-to-skip
* Enable the sc_space_tab checkJames Youngman2011-06-121-3/+3
| | | | | | * cfg.mk: Enable the sc_space_tab check. Exclude various xargs test inputs and outputs from the check. * locate/Makefile.am (dblocation.texi): Remove space-tab sequences.
* Fixes for empty-lines-at-EOF syntax check.James Youngman2011-06-051-1/+0
| | | | | | | | | | * .x-sc_bindtextdomain: Add newline at EOF. * locate/Makefile.am: Remove empty trailing line at EOF. * find/testsuite/sv-bug-32043.sh: Likewise. * .x-sc_prohibit_empty_lines_at_EOF: Don't apply this check to m4/order-good.bin m4/order-bad.bin locate/testsuite/locate.gnu/locateddb.old.x86.xi locate/testsuite/locate.gnu/locateddb.old.powerpc.xi.
* Manage gnulib as a git submodule.James Youngman2011-05-301-3/+3
| | | | | | | | | | | | | | | | | * .gitmodules: New file; manage gnulib as a submodule. For future compatibility with the "bootstrap" script, keep the gnulib submodule in the gnulib directory (instead of the gnulib-git directory as before). This means we need to find a new directory for the output of gnulib-tool; we will use "gl" for that. * import-gnulib.sh (do_checkout): Replace with do_submodule. (do_submodule): initialise and configure the gnulib module. (main): call do_submodule instead of do_checkout. Don't call move_cvsdir, it's obsolete. (move_cvsdir): delete * Makefile.am (SUBDIRS): Rename gnulib to gl. (ACLOCAL_AMFLAGS): Likewise. (findutils-check-smells): Rename gnulib-git to gnulib. * .gitignore: Rename gnulib to gl.
* Bugfix: make sure make distdir works in VPATH directly after configureJames Youngman2010-05-041-3/+10
| | | | | | | | * locate/Makefile.am (EXTRA_DIST): Add dblocation.texi. (dblocation.texi): Always rebuild, but don't replace the existing version if the content would not change. Signed-off-by: James Youngman <jay@gnu.org>
* Preserve locate/dblocation.texi during 'make clean'.James Youngman2010-04-291-1/+2
| | | | | | | * locate/Makefile.am (DISTCLEANFILES): Clean dblocation.texi for 'make distclean', but not 'make clean'. Signed-off-by: James Youngman <jay@gnu.org>
* Ensure that dblocation.texi gets created.James Youngman2010-04-171-0/+1
| | | | | | * locate/Makefile.am (locate_TEXINFOS): Add dblocation.texi. Signed-off-by: James Youngman <jay@gnu.org>
* Fix Savannah bug #25764, duplicate entry for proc in PRUNEFS.James Youngman2009-03-051-1/+4
| | | | | | | | | | | Fix Savannah bug #25764, duplicate entry for proc in PRUNEFS. * locate/updatedb.sh (PRUNEFS): Remove duplicate entry for proc. * locate/Makefile.am (updatedb): add dependency on Makefile, and add a comment explaining why updatedb is generated by make, not configure. * NEWS: Mention this bugfix. Signed-off-by: James Youngman <jay@gnu.org>
* Enabled GCC warnings for declarations after statements.James Youngman2009-03-041-0/+1
| | | | | | | | | | | Enabled GCC warnings for declarations after statements. * import-gnulib.config: Import the gnulib module 'warnings' * configure.ac: Add GCC warning -Wdeclaration-after-statement. * Makefile.am: Add AM_CFLAGS and set it to $(WARN_CFLAGS). * find/Makefile.am, doc/Makefile.am, lib/Makefile.am: Likewise. * locate/Makefile.am, xargs/Makefile.am: Likewise. Signed-off-by: James Youngman <jay@gnu.org>
* Upgrade to gnulib version 86a37c05846ff3772afd1300f135866dd1d271c6.James Youngman2009-03-041-1/+1
| | | | | | | | | | | Upgrade to gnulib version 86a37c05846ff3772afd1300f135866dd1d271c6. * import-gnulib.config(gnulib_version): Update. * xargs/Makefile.am: Add $(LIB_CLOSE) to $(LDADD), as suggested by gnulib's unistd module. * locate/Makefile.am: Likewise. * find/Makefile.am: Likewise. Signed-off-by: James Youngman <jay@gnu.org>
* Update gnulib version; follow gnulib-tool's Makefile.am edit suggestions.James Youngman2009-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | Update gnulib version. * import-gnulib.config (gpl3_update_files): No longer need to update the licenses of build-aux/mdate-sh, build-aux/texinfo.tex or build-aux/ylwrap as they are already GPLv3+. (modules): Use the strdup-posix module instead of strdup, and stop using the obsolete modules memcmp and memset, since we now assume those functions will already be present on the host system. * import-gnulib.sh (rehack): Be more verbose about which files actually needed a license edit and which did not. Follow gnulib-tool's Makefile.am edit suggestions. * find/Makefile.am (LDADD): Use $(LIBINTL) instead of @INTLLIBS@ and use $(LIB_CLOCK_GETTIME) instead of @LIB_CLOCK_GETTIME@. * lib/Makefile.am: Likewise. * locate/Makefile.am: Likewise. * xargs/Makefile.am: Likewise. * import-gnulib.sh (hack_gnulib_tool_output): Add m4/gnulib-cache.m4 to EXTRA_DIST in gnulib/Makefile.am, as gnulib-tool suggests.
* Fixed Savannah bug #20547, version information not compliant with GNU coding ↵James Youngman2007-07-221-2/+3
| | | | standard
* Ensure 'make distcheck' can pass on cygwin.Eric Blake2007-07-181-2/+5
| | | | | | | | | | | | * configure.in: Rename... * configure.ac: ...to this, to match automake recommendations. * NEWS: Add release dates. * doc/find-maint.texi (Documentation): Document where release dates are usefully recorded. * locate/Makefile.am (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT): Be aware of .exe. * .cvsignore: Ignore 'make dist' files. * po/.cvsignore: Ignore remove-potcdate.sed.
* Allow 'make check' to work without prior 'make all'.Eric Blake2007-06-281-1/+1
| | | | | | * find/Makefile.am (SUBDIRS): Build in . before testsuite. * locate/Makefile.am (SUBDIRS): Likewise. * xargs/Makefile.am (SUBDIRS): Likewise.
* Fix Savannah bug #19980, by avoiding the non-POSIX function putw() (and in ↵James Youngman2007-06-091-0/+1
| | | | previous changes, getw(), and wcwidth())
* locate also needs source file word_io.c.James Youngman2007-06-041-0/+1
|
* Fixed Savannah bug #19871 (spurious .R directives in the manual page for find)James Youngman2007-05-191-0/+5
|
* remove dblocation.texi in 'make clean'James Youngman2007-04-221-1/+1
|
* Support the generation of slocate-format databasesJames Youngman2007-04-221-1/+4
|
* Fixes to ensure that 'make distcheck' worksJames Youngman2007-04-151-1/+1
|
* Con't check command-line options for frcode, code or bigramJames Youngman2004-11-211-1/+2
|
* Make install-data-hook honour the setting of DESTDIR so that "makeJames Youngman2004-11-081-1/+1
| | | | | DESTDIR=/tmp/foo install" works and puts localstater in the right place.
* Oops, multilocate doesn't exist yet.James Youngman2004-11-081-1/+1
|
* Fixed section numbers in manpage titles and cross-referencesJames Youngman2004-11-081-1/+1
|
* Substitute @SORT_SUPPORTS_Z@James Youngman2004-11-061-0/+2
|
* Merged changes made for version 4.1.20 onto the trunkJames Youngman2003-06-141-3/+3
|
* * locate/Makefile.am (install-data-hook): changed install targetKevin Dalley2001-06-051-1/+1
| | | | to install-data-hook, which still installs other files.
* * locate/Makefile.am: add testsuite subdirectoryKevin Dalley2000-10-091-0/+2
|
* * locate/Makefile.am: create updatedb from updatedb.shKevin Dalley2000-04-051-0/+19
|
* * locate/Makefile.am, locate/locate.c, locate/code.c:Kevin Dalley2000-01-271-2/+3
| | | | internationalized file.
* * locate/Makefile.am: remove creation of updatedb, since it is nowKevin Dalley2000-01-181-19/+0
| | | | | | | made by configure * locate/Makefile.am: place frcode, code, bigram in libexec_PROGRAMS
* * locate/Makefile.am: place frcode, code, bigram inKevin Dalley2000-01-181-1/+1
| | | | libexec_PROGRAMS